Version 3.1.1.0

ValidationSessionEditor class

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public class ValidationSessionEditor : IDisposable
Inheritance
  • System.Object
  • ValidationSessionEditor

Constructors

ValidationSessionEditor(EditorWindow, ValidationSession)
public ValidationSessionEditor(EditorWindow window, ValidationSession session)
Parameters
UnityEditor.EditorWindow window

ValidationSession session

Fields

ActiveEditors
public static List<ValidationSessionEditor> ActiveEditors
AttributeValidatorFileTemplate
public static readonly string AttributeValidatorFileTemplate
RootObjectValidatorFileTemplate
public static readonly string RootObjectValidatorFileTemplate
SelectedIndex
public int SelectedIndex
ValidationSession
public readonly ValidationSession ValidationSession
ValueValidatorFileTemplate_Class
public static readonly string ValueValidatorFileTemplate_Class
ValueValidatorFileTemplate_Struct
public static readonly string ValueValidatorFileTemplate_Struct

Properties

MenuVisibility
public bool MenuVisibility { get; set; }
SelectedMenu
public ValidationSessionEditor.MenuOptions SelectedMenu { get; set; }
SelectedResult
public PersistentValidationResult SelectedResult { get; }
Window
public EditorWindow Window { get; }

Methods

Dispose()
public void Dispose()
OnGUI(Rect)
public void OnGUI(Rect area)
Parameters
UnityEngine.Rect area

OnSceneGui(SceneView)
public void OnSceneGui(SceneView sceneView)
Parameters
UnityEditor.SceneView sceneView

OpenOrFocusWindowForSession(ValidationSession)
public static void OpenOrFocusWindowForSession(ValidationSession session)
Parameters
ValidationSession session