Axmol Engine 2.4.0-258ceca
|
The delegate class for ActionTween. More...
#include <ActionTween.h>
Public Member Functions | |
virtual | ~ActionTweenDelegate () |
@js NA @lua NA | |
virtual void | updateTweenAction (float value, std::string_view key)=0 |
The callback function when ActionTween is running. | |
The delegate class for ActionTween.
If you want to use ActionTween on a node. You should implement the node follow these steps:
Then once you running ActionTween on the node, the method updateTweenAction will be invoked.
|
pure virtual |
The callback function when ActionTween is running.
value | The new value of the specified key. |
key | The key of property which should be updated. |