Esempio n. 1
0
 public void Begin(ISkillHoster hoster, XHitData data, Vector3 dir, bool bAttackOnHitDown)
 {
     if (_attr != null)
     {
         _attr.Begin(hoster, data, dir, bAttackOnHitDown);
     }
 }
Esempio n. 2
0
 public void Begin(ISkillHoster hoster, XHitData data, Vector3 dir, bool bAttackOnHitDown)
 {
     if (_attr != null && _entity.CurState != XStateDefine.XState_Death)
     {
         _entity.OnHit(true);
         _attr.Begin(hoster, data, dir, bAttackOnHitDown);
     }
 }