Question: Why isn't this code working from inside the power up script ?
private void OnTriggerEnter2D(Collider2D other)
{
if (other.tag == "Player")
{
Debug.Log("I got power up");
Destroy(this.gameObject);
}
}
So I have two game objects.
Triple_Shot_Powerup and Player
When these two collide nothing is happening...idk why
Player has:
Tag:Player
Box Collider 2D with Trigger True
and Has a Rigid Body
Triple_Shot_Powerup has:
Box Collider 2D with Trigger True
and Has a Rigid Body


