Пример #1
0
 public void CancelInteraction()
 {
     GameObject.FindGameObjectWithTag("Builder1Menu").SetActive(false);
     BuilderToChangeType = null;
     MouseMove.UnfreezeCamera();
     Cursor.visible = false;
 }
Пример #2
0
 public void HideMenu()
 {
     if (BuildableObj != null)
     {
         print("Set " + BuildableObj.name + " to " + name);
     }
     GameObject.FindGameObjectWithTag("Builder1Menu").SetActive(false);
     BuilderToChangeType.GetComponent <Manufacturing>().BuildableObj = RequestedObj;
     MouseMove.UnfreezeCamera();
     Cursor.visible = false;
 }
Пример #3
0
 public void AfterSelecting()
 {
     BuildingMenu.SetActive(false);
     MouseMove.UnfreezeCamera();
     Cursor.visible = false;
 }