void OnTriggerEnter(Collider other) { if (other.tag == "Player") { powerupController.PickupPowerup(); InitEffect(); Destroy(gameObject); } }