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