예제 #1
0
 public int Timeout(System.Action action, float interval = 0, bool ignoreTimeScale = true)
 {
     return(Record(HS_Scheduler.Add(action, System.Convert.ToInt32(interval * 1000), 1, ignoreTimeScale)));
 }
예제 #2
0
 public int Interval(System.Action action, float interval, int repeatCount, bool ignoreTimeScale = true)
 {
     return(Record(HS_Scheduler.Add(action, System.Convert.ToInt32(interval * 1000), repeatCount, ignoreTimeScale)));
 }
예제 #3
0
 public int EnterFrame(System.Action action)
 {
     return(Record(HS_Scheduler.Add(action, 0, -1, true)));
 }