public override void OnInspectorGUI() { EditorGUILayout.LabelField("Scene Tracking", EditorStyles.boldLabel); m_SceneModuleSceneTrackingDrawer.InspectorGUI(serializedObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Simulation Settings", EditorStyles.boldLabel); m_SceneModuleSimulationSettingsDrawer.InspectorGUI(serializedObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); }
public override void OnGUI(string searchContext) { base.OnGUI(searchContext); EditorGUIUtility.labelWidth = MarsEditorGUI.SettingsLabelWidth; EditorGUILayout.LabelField("Scene Module", EditorStyles.boldLabel); m_SceneModuleSceneTrackingDrawer.InspectorGUI(m_SceneModuleObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Scene Watchdog", EditorStyles.boldLabel); m_SceneWatchdogModuleDrawer.InspectorGUI(m_SceneWatchdogObject); EditorGUIUtils.DrawBoxSplitter(); EditorGUILayout.Space(); }