Esempio n. 1
0
 public void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Player"))
     {
         ScoreManager.AddFuel(value);
         Destroy(gameObject);
     }
 }