Character Layer Mask don't work.

What script are you using to control your enemies' behaviour? In the demo project, the Character Layer Manager is only used by a few specific scripts, e.g. Crosshairs Monitor. It's likely that your enemy behaviour script isn't using Character Layer Manager.
 
What script are you using to control your enemies' behaviour? In the demo project, the Character Layer Manager is only used by a few specific scripts, e.g. Crosshairs Monitor. It's likely that your enemy behaviour script isn't using Character Layer Manager.
Thank you,I solved this problem.
And another problem is how to reset the enemy's ability when I put it back in the object pool after the enemy dies, because it will be dead when instantiated from the object pool.
1612272028346.png
1612272042477.png
 
What ability are you trying to restart?

All abilities have the StopAbility method, so you could call StopAbility(true, false) to forcefully stop it immediately.
 
What ability are you trying to restart?

All abilities have the StopAbility method, so you could call StopAbility(true, false) to forcefully stop it immediately.
The question may not be clearly stated,But I've worked it out.
I used this method to reset: Respawn the enemy then destroy it.
1612351747128.png
 
Top