示例#1
0
 void LateUpdate()
 {
     if (!Active)
     {
         return;                              //Skip if Lock Combat is On
     }
     if (IsWeaponActive)
     {
         ActiveAbility.LateUpdateAbility();      //If there's an Active Ability do the Late Ability thingy
     }
 }
示例#2
0
 void LateUpdate()
 {
     if (LockCombat)
     {
         return;                                 //Skip if Lock Combat is On
     }
     if (ActiveAbility)
     {
         ActiveAbility.LateUpdateAbility();      //If there's an Active Ability do the Late Ability thingy
     }
     if (IsInCombatMode)
     {
         Anim.SetInteger(Hash.IDInt, -1);                                             //Remove the IntID so the attack while
     }
 }