Beispiel #1
0
 public static void RemoveNormal(DCBaseTimer timer)
 {
     if (null == Instance)
     {
         return;
     }
     DCLog.Log("add to remove");
     Instance.mToDelTimerSet.Add(timer);
 }
Beispiel #2
0
 public static void RemovePhysic(DCBaseTimer timer)
 {
     Instance.mToDelPhysicTimerSet.Add(timer);
 }
Beispiel #3
0
 public static void AddPhysic(DCBaseTimer timer)
 {
     Instance.mPhysicTimerSet.Add(timer);
 }
Beispiel #4
0
 private bool MatchForFixedUpdate(DCBaseTimer obj)
 {
     return(mToDelPhysicTimerSet.Contains(obj));
 }
Beispiel #5
0
 public static void AddNormal(DCBaseTimer timer)
 {
     Instance.mTimerSet.Add(timer);
 }
Beispiel #6
0
 private bool MatchForUpdate(DCBaseTimer obj)
 {
     return(mToDelTimerSet.Contains(obj));
 }