Ejemplo n.º 1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Player"))
     {
         gameObject.SetActive(false);
         HUD_Manager.UpdateScore(points);
         HUD_Manager.UpdateStats(JumpIncrease, SpeedIncrease);
     }
 }