예제 #1
0
 public static void AddUpdatable(string key, Actions.VoidFloat value)
 {
     if (updatables.ContainsKey(key))
     {
         Debug.LogWarning("Reset Updatable");
         updatables [key] = value;
     }
     updatables.Add(key, value);
 }
예제 #2
0
 public static void AddFixedUpdatable(string key, Actions.VoidFloat value)
 {
     if (fixedUpdatables.ContainsKey(key))
     {
         Debug.LogWarning("Reset FixedUpdatable");
         fixedUpdatables [key] = value;
     }
     else
     {
         fixedUpdatables.Add(key, value);
     }
 }