public override void OnGUI(string searchContext)
        {
            base.OnGUI(searchContext);
            EditorGUIUtility.labelWidth = MarsEditorGUI.SettingsLabelWidth;

            EditorGUILayout.LabelField("Simulation Data Visuals", EditorStyles.boldLabel);
            m_DataVisualsModuleOptionsDrawer.InspectorGUI(m_DataVisualsModuleOptionsObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();

            EditorGUILayout.LabelField("Simulated Data Discovery", EditorStyles.boldLabel);
            m_DebugVisualsSettingsDrawer.InspectorGUI(m_DebugSettingsObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();

            EditorGUILayout.LabelField("Proxy Forces Solver", EditorStyles.boldLabel);
            m_ProxyForcesFieldSolverModuleDrawer.InspectorGUI(m_ProxyForcesFieldSolverModuleObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();

            EditorGUILayout.LabelField("Composite Render", EditorStyles.boldLabel);
            m_CompositeRenderModuleOptionsDrawer.InspectorGUI(m_CompositeRenderModuleObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();

            EditorGUILayout.LabelField("X-Ray Module", EditorStyles.boldLabel);
            m_XRayOptionsDrawer.InspectorGUI(m_XRayOptionsObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();
        }
Ejemplo n.º 2
0
        public override void OnInspectorGUI()
        {
            EditorGUILayout.LabelField("Enable Logging", EditorStyles.boldLabel);
            m_MarsDebugLoggingSettingsDrawer.InspectorGUI(serializedObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();

            EditorGUILayout.LabelField("Simulated Data Discovery", EditorStyles.boldLabel);
            m_MarsDebugVisualsSettingsDrawer.InspectorGUI(serializedObject);
            EditorGUIUtils.DrawBoxSplitter();
            EditorGUILayout.Space();
        }