Hi, I have done a little rutine to detect players that collide on a certain area, but I have the problem that monsters can enter too... So I want only to detect objects with the tag player:
Here is my code:
What function should I use to solve it?
asked May 28, 2011 at 02:06 PM
You can use GameObject.CompareTag - look at:
That's the example they show:
answered May 28, 2011 at 02:14 PM