CCScaleBy
CCScaleBy
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCScaleTo
Implements: Cocos2D.ICCCopyable
Constructors
CCScaleBy(CCScaleBy)
CCScaleBy(CCScaleBy)(Cocos2D.CCScaleBy copy)
Parameters:
copy
(Cocos2D.CCScaleBy)CCScaleBy(float, float)
CCScaleBy(float, float)(System.Single duration, System.Single s)
Parameters:
duration
(System.Single)s
(System.Single)CCScaleBy(float, float, float)
CCScaleBy(float, float, float)(System.Single duration, System.Single sx, System.Single sy)
Parameters:
duration
(System.Single)sx
(System.Single)sy
(System.Single)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
Reverse()
Cocos2D.CCFiniteTimeAction Reverse()()
Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeAction
Example
StartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)
Parameters:
target
(Cocos2D.CCNode)Example