Beispiel #1
0
        public static void CreateBuffPopup(string buffText, Transform target)
        {
            FloatingText clone = Instantiate(instance.popupText, instance.canvas.transform);

            clone.SetText(target, buffText);
        }
Beispiel #2
0
        public static void CreateDamagePopup(int healthChange, Transform target)
        {
            FloatingText clone = Instantiate(instance.popupText, instance.canvas.transform);

            clone.SetText(target, healthChange);
        }