Пример #1
0
 // lock on skill
 public Action(Thing owner, LockOnSkill skill, GameObject target)
 {
     actionType  = ActionType.LockOnSkill;
     this.owner  = owner;
     lockOnSkill = skill;
     this.target = target;
     this.skill  = skill;
     actionName  = skill.skillName;
 }
Пример #2
0
 void SelectTarget(LockOnSkill skill, GameObject target)
 {
     skill.target = target;
     skill.Cast();
 }
Пример #3
0
 public void LockOnMouse(LockOnSkill skill)
 {
     mode        = MouseMode.LockOn;
     lockOnSkill = skill;
 }