Version 2.1.0.0

StaticInspectorWindow class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class StaticInspectorWindow : OdinEditorWindow, ISerializationCallbackReceiver
Access the StaticInspectorWindow from Tools > Odin Inspector > Static Inspector.
Inheritance
Implements
  • UnityEngine.ISerializationCallbackReceiver

Constructors

StaticInspectorWindow()
public StaticInspectorWindow()

Methods

DrawEditor(Int32)
Draws the editor for the this.CurrentDrawingTargets[index].
protected override void DrawEditor(int index)
Parameters
System.Int32 index

InspectType(Type, Nullable<StaticInspectorWindow.AccessModifierFlags>, Nullable<StaticInspectorWindow.MemberTypeFlags>)
Opens a new static inspector window for the given type.
public static StaticInspectorWindow InspectType(Type type, StaticInspectorWindow.AccessModifierFlags? accessModifies = default(StaticInspectorWindow.AccessModifierFlags? ), StaticInspectorWindow.MemberTypeFlags? memberTypeFlags = default(StaticInspectorWindow.MemberTypeFlags? ))
Parameters
System.Type type

System.Nullable<StaticInspectorWindow.AccessModifierFlags> accessModifies

System.Nullable<StaticInspectorWindow.MemberTypeFlags> memberTypeFlags

OnGUI()
Draws the Odin Editor Window.
protected override void OnGUI()
ShowWindow()
Shows the window.
public static void ShowWindow()

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.