C# Class BBGamelib.CCBezierBy

Inheritance: CCActionInterval
ファイルを表示 Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Protected Properties

Property Type Description
_config ccBezierConfig
_previousPosition Vector2
_startPosition Vector2

Public Methods

Method Description
CCBezierBy ( float t, ccBezierConfig c ) : UnityEngine
initWithDuration ( float t, ccBezierConfig c ) : void
startWithTarget ( object aTarget ) : void
update ( float t ) : void

Protected Methods

Method Description
copyImpl ( ) : CCAction
reverseImpl ( ) : CCAction

Private Methods

Method Description
bezierat ( float a, float b, float c, float d, float t ) : float

Method Details

CCBezierBy() public method

public CCBezierBy ( float t, ccBezierConfig c ) : UnityEngine
t float
c ccBezierConfig
return UnityEngine

copyImpl() protected method

protected copyImpl ( ) : CCAction
return CCAction

initWithDuration() public method

public initWithDuration ( float t, ccBezierConfig c ) : void
t float
c ccBezierConfig
return void

reverseImpl() protected method

protected reverseImpl ( ) : CCAction
return CCAction

startWithTarget() public method

public startWithTarget ( object aTarget ) : void
aTarget object
return void

update() public method

public update ( float t ) : void
t float
return void

Property Details

_config protected_oe property

protected ccBezierConfig,BBGamelib _config
return ccBezierConfig

_previousPosition protected_oe property

protected Vector2 _previousPosition
return Vector2

_startPosition protected_oe property

protected Vector2 _startPosition
return Vector2