Example #1
0
        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();
        }
 public override void OnInspectorGUI()
 {
     m_SceneWatchdogModuleDrawer.InspectorGUI(serializedObject);
 }