playMaker

Author Topic: what's wrong i did ?  (Read 1327 times)

xxhaissamxx

  • Playmaker Newbie
  • *
  • Posts: 5
what's wrong i did ?
« on: November 08, 2015, 08:12:06 PM »
if i set parent fatZombieWithAxe as Enemy other tags like Player can't see it this is my state

when i checked it unity feel it with this code unity get number of enemy
Debug.Log(GameObject.FindGameObjectsWithTag("Enemy").Length);
i set child as Enemy tag it works fine anyone know what's wrong ?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: what's wrong i did ?
« Reply #1 on: November 10, 2015, 10:26:01 AM »
Hi,

 why is your enemy layer set to "Player", it could be the source of the confusion here.

 Bye,

 Jean