For Lua, the TouchesScriptData is used to find the Lua function pointer by the nativeObject, then call the Lua function by push touches data and actionType into the Lua stack as the parameters when the touches event is triggered. More...
Public Attributes | |
EventTouch::EventCode | actionType |
The EventTouch::EventCode type. | |
var | actionType |
The EventTouch::EventCode type. | |
local | actionType |
The EventTouch::EventCode type. | |
For Lua, the TouchesScriptData is used to find the Lua function pointer by the nativeObject, then call the Lua function by push touches data and actionType into the Lua stack as the parameters when the touches event is triggered.