コード例 #1
0
 public void RegisterObject(GameObjectUpdatable updatable)
 {
     if (updatables == null)
     {
         updatables = new List<GameObjectUpdatable>();
     }
     if (!updatables.Contains(updatable)) {
         updatables.Add(updatable);
     }
 }
コード例 #2
0
 public void RegisterObject(GameObjectUpdatable updatable)
 {
     if (updatables == null)
     {
         updatables = new List <GameObjectUpdatable>();
     }
     if (!updatables.Contains(updatable))
     {
         updatables.Add(updatable);
     }
 }
コード例 #3
0
 public void UnregisterUpdatableObject(GameObjectUpdatable updatable)
 {
     gameSpeedManager.UnregisterObject(updatable);
 }
コード例 #4
0
 public void UnregisterObject(GameObjectUpdatable updatable)
 {
     updatables.Remove(updatable);
 }
コード例 #5
0
 public void UnregisterObject(GameObjectUpdatable updatable)
 {
     updatables.Remove(updatable);
 }
コード例 #6
0
 public void UnregisterUpdatableObject(GameObjectUpdatable updatable)
 {
     gameSpeedManager.UnregisterObject(updatable);
 }