CCEaseCustom
CCEaseCustom
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCActionEase
Implements: Cocos2D.ICCCopyable
Constructors
CCEaseCustom(CCActionInterval, Func)
CCEaseCustom(CCActionInterval, Func)(Cocos2D.CCActionInterval pAction, System.FuncSystem.Single,System.Single easeFunc)
Parameters:
pAction
(Cocos2D.CCActionInterval)easeFunc
(System.FuncSystem.Single,System.Single)CCEaseCustom(CCEaseCustom)
CCEaseCustom(CCEaseCustom)(Cocos2D.CCEaseCustom easeCustom)
Parameters:
easeCustom
(Cocos2D.CCEaseCustom)CCEaseCustom(CCFiniteTimeAction, Func)
CCEaseCustom(CCFiniteTimeAction, Func)(Cocos2D.CCFiniteTimeAction pAction, System.FuncSystem.Single,System.Single easeFunc)
Parameters:
pAction
(Cocos2D.CCFiniteTimeAction)easeFunc
(System.FuncSystem.Single,System.Single)Properties
EaseFunc(System.FuncSystem.Single,System.Single)
Methods
Copy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)
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:
pZone
(Cocos2D.ICCCopyable)Returns:
System.Object
Example
InitWithAction(CCActionInterval, Func)
InitWithAction(CCActionInterval, Func)(Cocos2D.CCActionInterval action, System.FuncSystem.Single,System.Single easeFunc)
Parameters:
action
(Cocos2D.CCActionInterval)easeFunc
(System.FuncSystem.Single,System.Single)InitWithAction(CCFiniteTimeAction, Func)
InitWithAction(CCFiniteTimeAction, Func)(Cocos2D.CCFiniteTimeAction action, System.FuncSystem.Single,System.Single easeFunc)
Parameters:
action
(Cocos2D.CCFiniteTimeAction)easeFunc
(System.FuncSystem.Single,System.Single)Reverse()
Cocos2D.CCFiniteTimeAction Reverse()()
Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeAction
Example
Update(float)
Update(float)(System.Single time)
Parameters:
time
(System.Single)Example