Example #1
0
 public override void OnExit()
 {
     _tileSelector.RemoveKeyListener(KeyCode.Mouse1, GoToTile);
     _tileSelector.RemoveHoverListener(UpdateHover);
 }
 public override void OnExit()
 {
     _unitSelector.RemoveHoverListener(UpdateHover);
     _tileSelector.RemoveHoverListener(UpdateHover);
     _unitSelector.RemoveKeyListener(KeyCode.Mouse0, SelectUnit);
 }