Each of my enemy's have 4 animation's (up,down,left,right) and have other name (e.g NPC_A, NPC_B ...).
How do i set some animation on enemy which e.g. touch some obiect.
I want make this in one function. It's possible or not?
If yes how i can do it?
sorry for my english