Example #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);
 }
Example #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);
     }
 }