void OnSelectionChanged(MapSelection selection) { if (!selection.IsSelectionValid) { this.SelectionTileAreaView.ClearTarget(); } else { this.SelectionTileAreaView.SetTarget(this.Environment, selection.SelectionBox); } }
void AbortSelection() { m_state = State.None; this.Selection = new MapSelection(); }
void StartSelection(IntVector3 p, State state) { m_state = state; this.Selection = new MapSelection(p, p); }