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