public void excuteScriptTouchHandler(int eventType, CCTouch pTouch) { if (this.m_pEventTypeFuncMap != null && CCScriptEngineManager.sharedScriptEngineManager().ScriptEngine != null) { CCScriptEngineManager.sharedScriptEngineManager().ScriptEngine.executeTouchEvent(this.m_pEventTypeFuncMap[eventType].ToString(), pTouch); } }
public void excuteScriptTouchesHandler(int eventType, List <CCTouch> pTouches) { if (m_pEventTypeFuncMap != null && CCScriptEngineManager.sharedScriptEngineManager().ScriptEngine != null) { CCScriptEngineManager.sharedScriptEngineManager().ScriptEngine.executeTouchesEvent((m_pEventTypeFuncMap)[eventType].ToString(), pTouches); } }