Hi, i'm using a prefab which contains an event proxy for receiving a callback event from another component, but it doesn't instantiate with the prefab. Any solutions how to set it up?
Here's the image, i'm using it forward the callback event to the parent to play the animation
Well, i sorted things out with the event proxy without using it, i'm just invoking the method when shooting. But i have a different problem. Animations were always confusing for me, animator, animation, animation controller, bwah.
The idea is to have the invoked method trigger the animation on the ship when it shoots, but i have no idea how to set it up right. I've set up the FSM to play the animation, but what should the prefab of the object that is to play the animation contain?
I've got the animation and animation controller, what should i do to make it happen
Here's the setup, but it doesn't work:
Animation is on the object that should be animated
And this is the FSM
Nothing out of the ordinary, but it doesn't work. I tried setting the animation to legacy too, but nothing.
Edit: I checked the debug log of the FSM that is supposed to play the animation, no errors.