slimecing

a fighting game featuring slimes and swords
Log | Files | Refs | README

ParticlePlayer.cs (282B)


      1 using UnityEngine;
      2 
      3 namespace Slimecing.Particles {
      4     public class ParticlePlayer : MonoBehaviour
      5     {
      6         [SerializeField] private ParticleSystem particleToBePlayed;
      7 
      8         public void PlayParticles()
      9         {
     10             particleToBePlayed?.Play();
     11         }
     12     }
     13 }