Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: xxhaissamxx on November 08, 2015, 08:12:06 PM

Title: what's wrong i did ?
Post by: xxhaissamxx 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
(http://i65.tinypic.com/2dsqsr9.jpg)
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 ?
(http://i64.tinypic.com/k315oy.jpg)
Title: Re: what's wrong i did ?
Post by: jeanfabre 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