- Home /
Question by
marioccckc · Jun 17, 2015 at 07:16 PM ·
triggerbooleanbool
Animator bool = true on TriggerEnter?
I want the enemy to play an animation after it has entered the trigger of the Player. So I have set a bool (I named it Attack) and whenever this bool is "true" the enemy is playing an attacking animation. How can i set the bool (Attack) to true wehnever the enemy is colliding with the trigger that i linked to the player? Can someone write me a script please?
Comment