Ejemplo n.º 1
0
 void OnTriggerEnter2D(Collider2D other)
 {
     if (other.name == "Player")
     {
         thePowerupManager.ActivePowerup(doublePoints, safeMode, powerupLenght);
     }
     gameObject.SetActive(false);
 }