Hi there, thanks for your response.
When you say it's an example script, are you saying that I should do some kind of copy/paste and incorporate it in my own script?
What I want to achieve is to animate the button (replace the button's sprite with an animation of 5 sprites), when the button is clicked. And when this 5-sprite-animation is over, I want a new function to be called.
Is that doable with NGUI?
Note: I'm using NGUI's UISprite component, not Unity's Sprite Renderer.
Thanks a lot