public void SelectObject(Selecter selectedObj) { SetLastSelectedObjectSelected(false); lastSelectedObject = selectedObj; SetLastSelectedObjectSelected(true); World.Instance.observer.FocusOn(lastSelectedObject.transform); justSelected = true; }
void ClearSelection() { SetLastSelectedObjectSelected(false); lastSelectedObject = null; World.Instance.observer.FocusOn(World.Instance.transform); }