메소드 | 설명 | |
---|---|---|
GoTween ( object target, float duration, GoTweenConfig, config, Action |
initializes a new instance and sets up the details according to the config parameter
|
|
addTweenProperty ( AbstractTweenProperty, tweenProp ) : void |
adds the tween property if it passes validation and initializes the property
|
|
allTweenProperties ( ) : List |
||
clearTweenProperties ( ) : void | ||
complete ( ) : void |
completes the tween. sets the object to it's final position as if the tween completed normally. takes into effect if the tween was playing forward or reversed.
|
|
containsTweenProperty ( AbstractTweenProperty, property ) : bool | ||
destroy ( ) : void |
removes the tween and cleans up its state
|
|
goTo ( float time, bool skipDelay ) : void |
goes to the specified time clamping it from 0 to the total duration of the tween. if the tween is not playing it will be force updated to the time specified.
|
|
isValid ( ) : bool |
we are valid if we have a target and at least one TweenProperty
|
|
removeTweenProperty ( AbstractTweenProperty, property ) : bool | ||
update ( float deltaTime ) : bool |
tick method. if it returns true it indicates the tween is complete
|
메소드 | 설명 | |
---|---|---|
onInit ( ) : void |
called only once the first update of a tween.
|
public GoTween ( object target, float duration, GoTweenConfig, config, Action |
||
target | object | |
duration | float | |
config | GoTweenConfig, | |
onComplete | Action |
|
리턴 | System |
public addTweenProperty ( AbstractTweenProperty, tweenProp ) : void | ||
tweenProp | AbstractTweenProperty, | |
리턴 | void |
public containsTweenProperty ( AbstractTweenProperty, property ) : bool | ||
property | AbstractTweenProperty, | |
리턴 | bool |
public removeTweenProperty ( AbstractTweenProperty, property ) : bool | ||
property | AbstractTweenProperty, | |
리턴 | bool |