// 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; }
void SelectTarget(LockOnSkill skill, GameObject target) { skill.target = target; skill.Cast(); }
public void LockOnMouse(LockOnSkill skill) { mode = MouseMode.LockOn; lockOnSkill = skill; }