private void OnTriggerEnter2D(Collider2D other) { if (other.name == "Mupi") { thepowerupmanager.Activatepowerup(doubleppoints, safemode, poweruplength); sound.PowerupSound(); gameObject.SetActive(false); } else if (other.tag == "Projectile") { Destroy(other); } else { Physics2D.IgnoreCollision(GetComponent <Collider2D>(), other); } }