Пример #1
0
        public delayCallData delayCall(UnityEngine.Events.UnityAction func, float time, bool isIgnoreTimeScale = false)
        {
            delayCallData e = new delayCallData(func, time, isIgnoreTimeScale);

            delayCalls.Add(e);
            return(e);
        }
Пример #2
0
        public delayCallData delayCall(delayCallData.delayCall func, float time, bool isIgnoreTimeScale = false)
        {
            delayCallData e = new delayCallData(func, time, isIgnoreTimeScale);

            delayCalls.Add(e);
            return(e);
        }
Пример #3
0
        public void cancelDelayCall(delayCallData d)
        {
            int idx = delayCalls.IndexOf(d);

            if (idx != -1)
            {
                delayCalls.RemoveAt(idx);
            }
        }