Answers for "how to chceck for a tag in a trigger enter 2d unity"

C#
0

how to chceck for a tag in a trigger enter 2d unity

if(target.tag == "Player")
     {
         Destroy(this.gameObject);
     }
Posted by: Guest on July-09-2021

Code answers related to "how to chceck for a tag in a trigger enter 2d unity"

C# Answers by Framework

Browse Popular Code Answers by Language