프로퍼티 | 타입 | 설명 | |
---|---|---|---|
active | System.Boolean | ||
complete | CompletionDelegate |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_ease | EaserDelegate | ||
_t | float | ||
_target | uint | ||
_time | float |
메소드 | 설명 | |
---|---|---|
Tween ( uint duration, uint type, CompletionDelegate onCompletion = null, EaserDelegate ease = null ) : System |
Constructor. Specify basic information about the Tween.
|
|
start ( ) : void |
Starts the Tween, or restarts it if it's currently running.
|
|
update ( ) : void |
Updates the Tween, called by World.
|
메소드 | 설명 | |
---|---|---|
finish ( ) : void |
Called when the Tween completes.
|
public Tween ( uint duration, uint type, CompletionDelegate onCompletion = null, EaserDelegate ease = null ) : System | ||
duration | uint | Duration of the tween (in seconds or frames). |
type | uint | Tween type, one of Tween.PERSIST (default), Tween.LOOPING, or Tween.ONESHOT. |
onCompletion | CompletionDelegate | Optional callback for when the Tween completes. |
ease | EaserDelegate | Optional easer function to apply to the Tweened value. |
리턴 | System |