Beispiel #1
0
    protected override void Trigger(GameObject other)
    {
        InvencibilityOnDamage inv = other.gameObject.GetComponent <InvencibilityOnDamage>();

        if (inv)
        {
            inv.AddInvencibility();
        }

        base.Trigger(other);
    }