프로퍼티 | 타입 | 설명 | |
---|---|---|---|
time | TimeUtils |
메소드 | 설명 | |
---|---|---|
AddTimer ( float rate, Action callBack ) : int |
Creates new timer
|
|
AddTimer ( float rate, int ticks, Action callBack ) : int |
Creates new timer
|
|
RemoveTimer ( int timerId ) : void |
Removes timer
|
메소드 | 설명 | |
---|---|---|
Awake ( ) : void |
Awake
|
|
Remove ( ) : void |
Timer removal queue handler
|
|
Tick ( ) : void |
Updates timers
|
|
Update ( ) : void |
public AddTimer ( float rate, Action callBack ) : int | ||
rate | float | Tick rate |
callBack | Action | Callback method |
리턴 | int |
public AddTimer ( float rate, int ticks, Action callBack ) : int | ||
rate | float | Tick rate |
ticks | int | Number of ticks before timer removal |
callBack | Action | Callback method |
리턴 | int |