protected override void SetTriggered() { base.SetTriggered(); movement.ChangeFlipX -= OnChangeFlipX; movement = new AgressiveMovement(this, transform, character); movement.ChangeFlipX += OnChangeFlipX; }
protected override void SetTriggered() { base.SetTriggered(); anim.SetBool("attack", false); movement.ChangeFlipX -= OnChangeFlipX; movement = new AgressiveMovement(FlipX, transform, character); movement.ChangeFlipX += OnChangeFlipX; }