コード例 #1
0
    protected override void PrepareToHeavyAttack()
    {
        if (tag == "Player")
        {
            SoundPlayer.Play("Heavy Axe Lift");
        }

        base.PrepareToHeavyAttack();
        animator.TransitionPlay("Heavy Attack Axe Prep");
        chain = SwingChain.First;
    }
コード例 #2
0
 protected override void PrepareToLightAttack()
 {
     base.PrepareToLightAttack();
     if (chain == SwingChain.First)
     {
         animator.TransitionPlay("Light Attack Axe Right");
         chain = SwingChain.Second;
     }
     else
     {
         animator.TransitionPlay("Light Attack Axe Left");
         chain = SwingChain.First;
     }
 }
コード例 #3
0
 protected override void PrepareToHeavyAttack()
 {
     base.PrepareToHeavyAttack();
     animator.TransitionPlay("Heavy Attack Saber Stab");
     chain = SwingChain.First;
 }