Example #1
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
 void Start()
 {
     particleDecal   = ParticleDecal.instance;
     part            = GetComponent <ParticleSystem>();
     collisionEvents = new List <ParticleCollisionEvent>();
 }