Пример #1
0
        public bool InternalRemoveFixedUpdater(IMagicFixedUpdate updater)
        {
            bool result = false;

            if (_instance != null)
            {
                result = _fixedUpdaters.Remove(updater);
            }

            return result;
        }
Пример #2
0
 public static void AddFixedUpdater(IMagicFixedUpdate updater)
 {
     MagicMethodsController.Instance.InternalAddFixedUpdater(updater);
 }
Пример #3
0
 public static bool RemoveFixedUpdater(IMagicFixedUpdate updater)
 {
     return MagicMethodsController.Instance.InternalRemoveFixedUpdater(updater);
 }
Пример #4
0
 private void InternalAddFixedUpdater(IMagicFixedUpdate updater)
 {
     _fixedUpdaters.Add(updater);
 }