After I google so much and I still cant understand how does the delegate and event works.
What I want to achieve is:
Class 1 will be playing animation, when the animation END, it will pass the delegate/event to the Class 2 so that Class 2 will do something on the animation END.
I wonder how can I code the above behavior?
Very basic event implementation…
This link provides a good quick example on how to create events. It’s targeted for VS 2003, but is still applicable.