Skip to main content

CCTouchDelegate

CCTouchDelegate

Cocos2D

Inheritance: System.Object

Implements: Cocos2D.ICCTouchDelegate

Constructors

CCTouchDelegate()

CCTouchDelegate()()

Fields

m_pEventTypeFuncMap(System.Collections.Generic.DictionarySystem.Int32,System.String)

Properties

TouchPriority(System.Int32)

Used to prioritize touch dispatching. Higher values mean the delegate will receive touches sooner than lower valued delegates.

VisibleForTouches(System.Boolean)

A visibility parameter that determines if touches are delivered to a delegate.

Methods

DoesScriptHandlerExist(int)

System.Boolean DoesScriptHandlerExist(int)(System.Int32 eventType)
Parameters:
eventType (System.Int32)
Returns:
System.Boolean

ExcuteScriptTouchHandler(int, CCTouch)

ExcuteScriptTouchHandler(int, CCTouch)(System.Int32 eventType, Cocos2D.CCTouch pTouch)
Parameters:
eventType (System.Int32)
pTouch (Cocos2D.CCTouch)

ExcuteScriptTouchesHandler(int, List)

ExcuteScriptTouchesHandler(int, List)(System.Int32 eventType, System.Collections.Generic.ListCocos2D.CCTouch pTouches)
Parameters:
eventType (System.Int32)
pTouches (System.Collections.Generic.ListCocos2D.CCTouch)

RegisterScriptTouchHandler(int, string)

RegisterScriptTouchHandler(int, string)(System.Int32 eventType, System.String pszScriptFunctionName)

functions for script call back

Parameters:
eventType (System.Int32)
pszScriptFunctionName (System.String)
Example