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...
Public Member Functions | |
SchedulerScriptData (int inHandler, float inElapse, void *inNode=nullptr) | |
constructor of SchedulerScriptData. | |
SchedulerScriptData ( var inHandler, var inElapse, var nullptr) | |
constructor of SchedulerScriptData. | |
SchedulerScriptData ( local inHandler, local inElapse, local 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.