Help with identifying GO in a collision

It’s the ID of the script component that is attached to the “enemy” game object you want the player to collide with. So you would set it up like this, for example, and set the ID of the script to “script”:

In the above, the “Enemy Type” is a script property, defined in the enemy.script via go.property("enemy_type", 1)

2 Likes