Exemple #1
0
 // Token: 0x06001D46 RID: 7494 RVA: 0x0007CDFC File Offset: 0x0007AFFC
 public virtual void OnFixedUpdate([NotNull] GenericSkill skillSlot)
 {
     skillSlot.RunRecharge(Time.fixedDeltaTime);
     if (this.canceledFromSprinting && skillSlot.characterBody.isSprinting && skillSlot.stateMachine.state.GetType() == this.activationState.stateType)
     {
         skillSlot.stateMachine.SetNextStateToMain();
     }
 }
Exemple #2
0
        public sealed override void OnFixedUpdate(GenericSkill skillSlot)
        {
            var    data = skillSlot.skillInstanceData as ReactivationInstanceData;
            Single dt   = Time.fixedDeltaTime;

            if (data.waitingOnReactivation)
            {
                data.RunRecharge(dt);
                if (this.startCooldownAfterReactivation)
                {
                    return;
                }
            }
            skillSlot.RunRecharge(dt);
        }