예제 #1
0
    public void BurnTarget(GameObject g, int amount)
    {
        UnitStats u = g.GetComponent <UnitStats>();

        u.Burn(amount);
    }