public override void OnGUI(string searchContext) { base.OnGUI(searchContext); EditorGUIUtility.labelWidth = MarsEditorGUI.SettingsLabelWidth; EditorGUILayout.LabelField("Simulation Settings", EditorStyles.boldLabel); m_SimulationSettingsDrawer.InspectorGUI(m_SimulationSettingsObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Query Simulation Module", EditorStyles.boldLabel); m_QuerySimulationModuleDrawer.InspectorGUI(m_QuerySimulationModuleObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Environment Manager", EditorStyles.boldLabel); m_EnvironmentManagerDrawer.InspectorGUI(m_EnvironmentManagerObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Environment Settings", EditorStyles.boldLabel); m_SimulationEnvironmentSettingsDrawer.InspectorGUI(m_SimulationEnvironmentSettingsObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Recording Playback Module", EditorStyles.boldLabel); m_RecordingPlaybackModule.InspectorGUI(m_RecordingPlaybackModuleObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Time Module", EditorStyles.boldLabel); m_TimeModuleDrawer.InspectorGUI(m_TimeModuleObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Session Recording", EditorStyles.boldLabel); m_SessionRecordingSettingsDrawer.InspectorGUI(m_SessionRecordingSettingsObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Scene Module", EditorStyles.boldLabel); m_SceneModuleSimulationSettingsDrawer.InspectorGUI(m_SceneModuleObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Video Context", EditorStyles.boldLabel); m_VideoContextSettingsDrawer.InspectorGUI(m_SimulationVideoContextSettingsObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Simulated Geolocation", EditorStyles.boldLabel); m_GeoLocationModuleSimulationDrawer.InspectorGUI(m_GeoLocationModuleObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); }
public override void OnInspectorGUI() { m_QuerySimulationModuleDrawer.InspectorGUI(serializedObject); }