private void DrawDebugging() { EditorGUILayout.LabelField("Callback Debugging", EditorStyles.boldLabel); using (new EditorGUI.IndentLevelScope()) { DrawRaiseButton(); _stackTrace.Draw(); } EditorGUILayout.Space(); EditorGUILayout.Space(); EditorGUILayout.LabelField("Gizmo Debugging", EditorStyles.boldLabel); using (new EditorGUI.IndentLevelScope()) { EditorGUILayout.PropertyField(_enableDebug, new GUIContent("Enable Gizmo Debugging")); using (new EditorGUI.DisabledGroupScope(_enableDebug.boolValue)) { EditorGUILayout.PropertyField(_debugColor, new GUIContent("Debug Color", "Color used to draw debug gizmos in the scene")); } } EditorGUILayout.Space(); }
public override void OnInspectorGUI() { DrawRaiseButton(); _stackTrace.Draw(); EditorGUILayout.PropertyField(DeveloperDescription); }