CCTapNode<T>
CCTapNode
cocos2d.base_nodesInheritance: System.Object → Cocos2D.CCNode
Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}, System.IDisposable
Constructors
CCTapNode(bool)
CCTapNode(bool)(System.Boolean isSwallowTouches)
Parameters:
isSwallowTouches
(System.Boolean)Properties
Active(System.Boolean)
Data(T)
IsSwallowTouches(System.Boolean)
_disposed(System.Boolean)
Methods
Dispose(bool)
Dispose(bool)(System.Boolean disposing)
Parameters:
disposing
(System.Boolean)Example
DragInside(CCPoint)
DragInside(CCPoint)(Cocos2D.CCPoint position)
Parameters:
position
(Cocos2D.CCPoint)DragOutside(CCPoint)
DragOutside(CCPoint)(Cocos2D.CCPoint position)
Parameters:
position
(Cocos2D.CCPoint)RefreshContentSize()
RefreshContentSize()()
Adjust content size to its children;
Example
ReleasedOutside()
ReleasedOutside()()
Tapped(CCPoint)
Tapped(CCPoint)(Cocos2D.CCPoint tapLocation)
Parameters:
tapLocation
(Cocos2D.CCPoint)TouchBegan(CCPoint)
TouchBegan(CCPoint)(Cocos2D.CCPoint touchLocation)
Parameters:
touchLocation
(Cocos2D.CCPoint)TouchBegan(CCTouch)
System.Boolean TouchBegan(CCTouch)(Cocos2D.CCTouch touch)
Returns true signaling that this node will consume the touch.
Parameters:
touch
(Cocos2D.CCTouch)Returns:
System.Boolean
Example
TouchEnded(CCTouch)
TouchEnded(CCTouch)(Cocos2D.CCTouch touch)
Parameters:
touch
(Cocos2D.CCTouch)Example
TouchMoved(CCTouch)
TouchMoved(CCTouch)(Cocos2D.CCTouch touch)
Parameters:
touch
(Cocos2D.CCTouch)Example
Events
OnTapped(Event)
OnTouchBegin(Event)