void OnAnimationMiddle() { if (usingSkill && animator.cof.mode == skillInfo.anim) { skillInfo.Do(this, targetCharacter, targetPoint); } }
void OnAnimationMiddle() { if (_usingSkill && _animator.cof.mode == _skillInfo.anim) { _skillInfo.Do(this, _targetCharacter, _targetPoint); } else if (_operatingWithEntity != null && overrideMode == "KK") { _operatingWithEntity.Operate(this); } }
void OnAnimationMiddle() { if (_usingSkill) { _skillInfo.Do(this, _targetUnit, _targetPoint); } else if (_operatingWithEntity != null && overrideMode == "KK") { _operatingWithEntity.Operate(this); } }