프로퍼티 | 타입 | 설명 | |
---|---|---|---|
id | int |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_completedIterations | int | ||
_deltaIterations | int | ||
_didBegin | bool | ||
_didInit | bool | ||
_didIterateLastFrame | bool | ||
_didIterateThisFrame | bool | ||
_elapsedTime | float | ||
_fireIterationEnd | bool | ||
_fireIterationStart | bool | ||
_isLoopingBackOnPingPong | bool | ||
_onBegin | Action |
||
_onComplete | Action |
||
_onInit | Action |
||
_onIterationEnd | Action |
||
_onIterationStart | Action |
||
_onUpdate | Action |
||
_totalElapsedTime | float |
메소드 | 설명 | |
---|---|---|
allTweenProperties ( ) : List |
returns a list of all the TweenProperties contained in the tween and all its children (if it is a TweenChain or a TweenFlow) technically, this should be marked as internal
|
|
complete ( ) : void |
completes the tween. sets the playhead to it's final position as if the tween completed normally. takes into account if the tween was playing forward or reversed.
|
|
containsTweenProperty ( AbstractTweenProperty, property ) : bool |
returns true if the tween contains the same type (or propertyName) property in its property list technically, this should be marked as internal
|
|
destroy ( ) : void |
removes the Tween from action and cleans up its state
|
|
goTo ( float time ) : void |
goes to the specified time clamping it from 0 to the total duration of the tween. if the tween is not playing it can optionally be force updated to the time specified. delays are not taken into effect. (must be implemented by inherited classes.)
|
|
goToAndPlay ( float time ) : void |
goes to the time and starts playback skipping any delays
|
|
isValid ( ) : bool |
subclasses should return true if they are a valid and ready to be added to the list of running tweens or false if not ready. technically, this should be marked as internal
|
|
pause ( ) : void |
pauses playback
|
|
play ( ) : void |
resumes playback
|
|
playBackwards ( ) : void |
plays the tween backwards. if it is already playing backwards has no effect
|
|
playForward ( ) : void |
plays the tween forward. if it is already playing forward has no effect
|
|
removeTweenProperty ( AbstractTweenProperty, property ) : bool |
attempts to remove the tween property returning true if successful technically, this should be marked as internal
|
|
restart ( bool skipDelay = true ) : void |
rewinds the tween to the beginning (or end, depending on isReversed) and starts playback, optionally skipping delay (only relevant for Tweens).
|
|
reverse ( ) : void |
reverses playback. if going forward it will be going backward after this and vice versa.
|
|
rewind ( ) : void |
rewinds the tween to the beginning (or end, depending on isReversed) and pauses playback.
|
|
setOnBeginHandler ( Action |
||
setOnCompleteHandler ( Action |
||
setOnInitHandler ( Action |
||
setOnUpdateHandler ( Action |
||
setonIterationEndHandler ( Action |
||
setonIterationStartHandler ( Action |
||
update ( float deltaTime ) : bool |
tick method. if it returns true it indicates the tween is complete. note: at it's base, AbstractGoTween does not fire events, it is up to the implementer to do so. see GoTween and AbstractGoTweenCollection for examples.
|
|
waitForCompletion ( ) : IEnumerator |
waits for either completion or destruction. call in a Coroutine and yield on the return
|
메소드 | 설명 | |
---|---|---|
onBegin ( ) : void |
called whenever the tween is updated and the playhead is at the start (or end, depending on isReversed) of the tween.
|
|
onComplete ( ) : void |
called when the tween completes playing.
|
|
onInit ( ) : void |
called once per tween when it is first updated
|
|
onIterationEnd ( ) : void |
called once per iteration at the end of the iteration.
|
|
onIterationStart ( ) : void |
called once per iteration at the start of the iteration.
|
|
onUpdate ( ) : void |
called once per update, after the update has occured.
|
|
reset ( ) : void |
resets the tween to the beginning, taking isReversed into account.
|
public abstract containsTweenProperty ( AbstractTweenProperty, property ) : bool | ||
property | AbstractTweenProperty, | |
리턴 | bool |
public abstract removeTweenProperty ( AbstractTweenProperty, property ) : bool | ||
property | AbstractTweenProperty, | |
리턴 | bool |
public setOnBeginHandler ( Action |
||
onBegin | Action |
|
리턴 | void |
public setOnCompleteHandler ( Action |
||
onComplete | Action |
|
리턴 | void |
public setOnUpdateHandler ( Action |
||
onUpdate | Action |
|
리턴 | void |
public setonIterationEndHandler ( Action |
||
onIterationEnd | Action |
|
리턴 | void |
public setonIterationStartHandler ( Action |
||
onIterationStart | Action |
|
리턴 | void |