Exemple #1
0
 void OnTriggerEnter(Collider c)
 {
     if (c.gameObject.tag == "Sheep")
     {
         GameStats.GainPoint();
         c.gameObject.SetActive(false);
     }
 }