Esempio n. 1
0
 // Update is called once per frame
 void OnParticleCollision(GameObject other)
 {
     if (!used)
     {
         used = true;
         drunkManager.Holed();
         Debug.Log("Holed");
         particles.Play();
         audio.Play();
     }
 }