/// <summary> /// Call this function whenever the user enters a new state (ex. selecting a new robot, using ruler function, orenting robot) /// </summary> public void EndOtherProcesses() { changeFieldPanel.SetActive(false); changeRobotPanel.SetActive(false); changePanel.SetActive(false); addPanel.SetActive(false); pointImpulsePanel.SetActive(false); toolkit.EndProcesses(); multiplayer.EndProcesses(); sensorManagerGUI.EndProcesses(); robotCameraGUI.EndProcesses(); }
/// <summary> /// Call this function whenever the user enters a new state (ex. selecting a new robot, using ruler function, orenting robot) /// </summary> public void EndOtherProcesses() { changeFieldPanel.SetActive(false); changeRobotPanel.SetActive(false); changePanel.SetActive(false); addPanel.SetActive(false); inputManagerPanel.SetActive(false); simUI.CancelOrientation(); toolkit.EndProcesses(); multiplayer.EndProcesses(); sensorManagerGUI.EndProcesses(); robotCameraGUI.EndProcesses(); }
/// <summary> /// Call this function whenever the user enters a new state (ex. selecting a new robot, using ruler function, orenting robot) /// </summary> public void EndOtherProcesses() { changeFieldPanel.SetActive(false); changeRobotPanel.SetActive(false); exitPanel.SetActive(false); mixAndMatchPanel.SetActive(false); changePanel.SetActive(false); addPanel.SetActive(false); betaWarningPanel.SetActive(false); toolkit.EndProcesses(); multiplayer.EndProcesses(); sensorManagerGUI.EndProcesses(); robotCameraGUI.EndProcesses(); }
/// <summary> /// Method for "Add/Configure Sensor" button. End configuration ends all window related to sensor addition/configuration /// </summary> public void ToggleSensorOption() { //Deal with UI conflicts between robot camera & sensors robotCameraGUI.EndProcesses(); toolkit.EndProcesses(true); isChoosingOption = !isChoosingOption; if (isChoosingOption) { preConfigState = dynamicCamera.ActiveState; dynamicCamera.SwitchCameraState(new DynamicCamera.ConfigurationState(dynamicCamera)); ShowAllSensors(); } else { EndProcesses(); } }
/// <summary> /// Call this function whenever the user enters a new state (ex. selecting a new robot, using ruler function, orenting robot) /// </summary> public void EndOtherProcesses() { changeFieldPanel.SetActive(false); changeRobotPanel.SetActive(false); exitPanel.SetActive(false); mixAndMatchPanel.SetActive(false); analyticsPanel.SetActive(false); CancelOrientation(); main.IsResetting = false; dpm.EndProcesses(); toolkit.EndProcesses(); multiplayer.EndProcesses(); sensorManagerGUI.EndProcesses(); robotCameraGUI.EndProcesses(); }
/// <summary> /// Call this function whenever the user enters a new state (ex. selecting a new robot, using ruler function, orenting robot) /// </summary> public void EndOtherProcesses() { changeFieldPanel.SetActive(false); changeRobotPanel.SetActive(false); exitPanel.SetActive(false); mixAndMatchPanel.SetActive(false); changePanel.SetActive(false); addPanel.SetActive(false); analyticsPanel.SetActive(false); inputManagerPanel.SetActive(false); ToggleHotKeys(false); CancelOrientation(); toolkit.EndProcesses(); multiplayer.EndProcesses(); sensorManagerGUI.EndProcesses(); robotCameraGUI.EndProcesses(); }