Exemple #1
0
 public void SendUnitSkillPointerEvent(UnitEvent e, Units tu, Skill skill, Vector3 targetPos)
 {
     tu.SetSkillContext(skill);
     tu.SetPosContext(targetPos);
     this.SendUnitStateEvent(e, tu, null, null);
     tu.ClearSkillContext();
 }
Exemple #2
0
 public void SendUnitSkillStateEvent(UnitEvent e, Units tu, Skill skill)
 {
     tu.SetSkillContext(skill);
     this.SendUnitStateEvent(e, tu, null, null);
     tu.ClearSkillContext();
 }