Axmol Engine 2.4.0-258ceca
|
For Lua, the SchedulerScriptData is used to find the Lua function pointer by the handler, then call the Lua function by push the elapse into the Lua stack as a parameter when scheduler update event is triggered. More...
#include <ScriptSupport.h>
Public Member Functions | |
SchedulerScriptData (int inHandler, float inElapse, void *inNode=nullptr) | |
Constructor of SchedulerScriptData. | |
Public Attributes | |
int | handler |
the handler corresponding to the Lua function pointer, only use in the Lua. | |
float | elapse |
the parameter would be passed in to the Lua function, only use in the Lua. | |
For Lua, the SchedulerScriptData is used to find the Lua function pointer by the handler, then call the Lua function by push the elapse into the Lua stack as a parameter when scheduler update event is triggered.
@js NA
|
inline |
Constructor of SchedulerScriptData.
@js NA @lua NA
int handler |
the handler corresponding to the Lua function pointer, only use in the Lua.
@js NA @lua NA
float elapse |
the parameter would be passed in to the Lua function, only use in the Lua.
@js NA @lua NA