Skip to main content

CCCallFunc

CCCallFunc

Cocos2D

Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInstant

Implements: Cocos2D.ICCCopyable

Constructors

CCCallFunc()

CCCallFunc()()

CCCallFunc(CCCallFunc)

CCCallFunc(CCCallFunc)(Cocos2D.CCCallFunc callFunc)
Parameters:
callFunc (Cocos2D.CCCallFunc)

CCCallFunc(Action)

CCCallFunc(Action)(System.Action selector)
Parameters:
selector (System.Action)

Fields

m_scriptFuncName(System.String)

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

Execute()

Execute()()

Update(float)

Update(float)(System.Single time)
Parameters:
time (System.Single)
Example