private void StartSkillSlotCD(ref SkillSlot slot) { if (this.skillControl.TryGetSkillSlot(this.slotType, out slot) && slot != null) { slot.StartSkillCD(); } }
private void StartSkillContextCD(Action _action, ref SkillSlot slot) { SkillUseContext refParamObject = _action.refParams.GetRefParamObject <SkillUseContext>("SkillContext"); if (refParamObject != null && this.skillControl.TryGetSkillSlot(refParamObject.SlotType, out slot) && slot != null) { slot.StartSkillCD(); } }