Hello. I thought it would be wiser to up this one rather than opening a new one.
I'm currently trying to have an animation playing when I'm hovering a Button.
It's one of our own animations, a sprite sheet, but we can split it into one sprite by frame if necessary.
I first tried to do it with the UIButton Play Animation first, but did not manage to understand how to fill the "Target" field. I thought I might have to drag a .ANIM file into it, like the "Checkmark" that we can find in your Example\Animations folder.
But I have no idea how to make a .ANIM file from what i currently have, and moreover, for some reason i can't even drag the "Checkmark" .ANIM into the Target Field, so I felt like trying this way was pointless anyway.
I've then been looking for other solutions, and here comes the UISpriteAnimation part.
It seems to be the script one should use when it comes to animate.
I haven't really understood how to use it. I admit I'm not quite good when it comes to scripting.
I've been looking for a step by step tutorial, I really need something of this nature, the NGUI Documentation about it just doesn't make sense to me.
Would you be kind enough to explain me how I should proceed, with what i got, and to obtain what I want, or to redirect me to an existing tutorial on the topic ?
I would be truly grateful.