Exemple #1
0
    public void ShowDamage(Vector3 location, int damage)
    {
        DamagePopup popup = Instantiate(DamagePopup, location, Quaternion.identity).GetComponent <DamagePopup>();

        popup.SetDamage(damage);
    }