C# 클래스 TimeUtils, ProjectPhoenix

상속: MonoBehaviour
파일 보기 프로젝트 열기: Alx666/ProjectPhoenix 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

메소드 상세

AddTimer() 공개 메소드

Creates new timer
public AddTimer ( float rate, Action callBack ) : int
rate float Tick rate
callBack Action Callback method
리턴 int

AddTimer() 공개 메소드

Creates new timer
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

RemoveTimer() 공개 메소드

Removes timer
public RemoveTimer ( int timerId ) : void
timerId int Timer GUID
리턴 void

프로퍼티 상세

time 공개적으로 정적으로 프로퍼티

public static TimeUtils time
리턴 TimeUtils