how to make an enemy only attack the player when the player is in a state that can be attacked in unity C#
Asked
Active
Viewed 19 times
0
-
What do you mean by `when the player is in a state that can be attacked` ? – Çağatay IŞIK Feb 17 '23 at 11:13
-
like in normal state the enemy cannot attack the player – Nhật Quang Feb 17 '23 at 11:16
-
Do you mean animation state ? – Çağatay IŞIK Feb 17 '23 at 11:35