CCRemoveSelf
CCRemoveSelf
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInstant
Implements: Cocos2D.ICCCopyable
Constructors
CCRemoveSelf()
CCRemoveSelf()()
CCRemoveSelf(CCRemoveSelf)
CCRemoveSelf(CCRemoveSelf)(Cocos2D.CCRemoveSelf removeSelf)
Parameters:
removeSelf
(Cocos2D.CCRemoveSelf)CCRemoveSelf(bool)
CCRemoveSelf(bool)(System.Boolean isNeedCleanUp)
Parameters:
isNeedCleanUp
(System.Boolean)Fields
m_bIsNeedCleanUp(System.Boolean)
Methods
Copy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable zone)
Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.
Parameters:
zone
(Cocos2D.ICCCopyable)Returns:
System.Object
Example
Init(bool)
System.Boolean Init(bool)(System.Boolean isNeedCleanUp)
Parameters:
isNeedCleanUp
(System.Boolean)Returns:
System.Boolean
Reverse()
Cocos2D.CCFiniteTimeAction Reverse()()
Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeAction
Example
Update(float)
Update(float)(System.Single time)
Parameters:
time
(System.Single)Example