Пример #1
0
 public static bool RemoveLateUpdater(IMagicLateUpdate updater)
 {
     return MagicMethodsController.Instance.InternalRemoveLateUpdater(updater);
 }
Пример #2
0
 private void InternalAddLateUpdater(IMagicLateUpdate updater)
 {
     _lateUpdaters.Add(updater);
 }
Пример #3
0
 public static void AddLateUpdater(IMagicLateUpdate updater)
 {
     MagicMethodsController.Instance.InternalAddLateUpdater(updater);
 }
Пример #4
0
        public bool InternalRemoveLateUpdater(IMagicLateUpdate updater)
        {
            bool result = false;

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

            return result;
        }