public static void AddCooldownText(string text, float duration, Tuple <string, string, EventInfo> eventInfo)
        {
            CustomText cooldownText = new CustomText(text, duration, 0, true);

            cooldownText.SetEvent(eventInfo);
            cooldownTexts.Add(new KeyValuePair <string, CustomText>(text, cooldownText));
        }
        public static void AddCooldown(string text, float duration, Tuple <string, string, EventInfo> eventInfo)
        {
            if (!initialised)
            {
                Initialise();
            }

            CustomText cooldownText = new CustomText(text, duration, 0, true);

            cooldownText.SetEvent(eventInfo);
            customTimerTexts.Add(cooldownText);
        }
Exemplo n.º 3
0
        public static void AddCooldown(string text, float duration, EventInfo eventInfo)
        {
            if (!initialised)
            {
                Initialise();
            }

            CustomText cooldownText = new CustomText(text, duration, 0, true);

            cooldownText.SetEvent(new KeyValuePair <string, EventInfo>(text, eventInfo));
            customTimerTexts.Add(cooldownText);
        }