Пример #1
0
        internal void RegisterDelayedAction <T> (float time, T action) where T : IDelayedAction
        {
            DelayedCall <T> .Add(time, action);

            if (isIncludedType.Contains(typeof(T)))
            {
                return;
            }

            delayedCalls.Add(DelayedCall <T> .GetInstance());
            isIncludedType.Add(typeof(T));
        }