override public void applyPassive(Transform player)
    {
        ActionOnHit action = player.gameObject.AddComponent <ActionOnHit>();

        action.init(burstEffect, burstTargets, cooldown);
        passiveActionID = action.GetInstanceID();
    }
Пример #2
0
    override public void applyPassive(Transform player)
    {
        ActionOnHit script = player.gameObject.AddComponent <ActionOnHit>();

        script.init(passiveSpray, passiveHitTargets, cooldown);
        passiveActionID = script.GetInstanceID();
    }
    override public void applyPassive(Transform player)
    {
        ActionOnHit action = player.gameObject.AddComponent <ActionOnHit>();

        action.init(defaultCollision, onCollisionTargets, cooldown);
        passiveActionID = action.GetInstanceID();
    }