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