コード例 #1
0
 public void SelectObject(Selecter selectedObj)
 {
     SetLastSelectedObjectSelected(false);
     lastSelectedObject = selectedObj;
     SetLastSelectedObjectSelected(true);
     World.Instance.observer.FocusOn(lastSelectedObject.transform);
     justSelected = true;
 }
コード例 #2
0
 void ClearSelection()
 {
     SetLastSelectedObjectSelected(false);
     lastSelectedObject = null;
     World.Instance.observer.FocusOn(World.Instance.transform);
 }