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. More... | |
Public Attributes | |
| int | handler |
| the handler corresponding to the Lua function pointer, only use in the Lua. More... | |
| float | elapse |
| the parameter would be passed in to the Lua function, only use in the Lua. More... | |
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