- Home /
Question by
$$anonymous$$ · Oct 01, 2017 at 12:09 PM ·
2dcollisionpanelif statementvoid
Panel Activation via If Statement Issue
I have this code going on:
void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.CompareTag ("PickUp")) {
}
}
I can't figure out what code to put inside my if statement to activate my panel with the name "Panel". Any ideas?
Comment
Your answer
Follow this Question
Related Questions
How to change the color of the ball after hitting square? 5 Answers
Collision on specific Frames 1 Answer
Why does my OnCollisionEnter2D not work? 3 Answers
Unity2D Collision is bugged 0 Answers