public void CancelInteraction() { GameObject.FindGameObjectWithTag("Builder1Menu").SetActive(false); BuilderToChangeType = null; MouseMove.UnfreezeCamera(); Cursor.visible = false; }
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; }
public void AfterSelecting() { BuildingMenu.SetActive(false); MouseMove.UnfreezeCamera(); Cursor.visible = false; }