Version 3.3.0.2

OldTypeSelector class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public class OldTypeSelector : OdinSelector<Type>, ISelectionChangeListener
Inheritance

Constructors

OldTypeSelector(AssemblyCategory, Boolean)
public OldTypeSelector(AssemblyCategory assemblyCategories, bool supportsMultiSelect)
Parameters
AssemblyCategory assemblyCategories

System.Boolean supportsMultiSelect

OldTypeSelector(IEnumerable<Type>, Boolean)
public OldTypeSelector(IEnumerable<Type> types, bool supportsMultiSelect)
Parameters
System.Collections.Generic.IEnumerable<System.Type> types

System.Boolean supportsMultiSelect

Fields

FlattenTree
public bool FlattenTree
HideNamespaces
public bool HideNamespaces

Properties

Title
public override string Title { get; }

Methods

BuildSelectionTree(OdinMenuTree)
Builds the selection tree.
protected override void BuildSelectionTree(OdinMenuTree tree)
Parameters
OdinMenuTree tree

DefaultWindowWidth()
450
protected override float DefaultWindowWidth()
Returns
System.Single

IsValidSelection(IEnumerable<Type>)
public override bool IsValidSelection(IEnumerable<Type> collection)
Parameters
System.Collections.Generic.IEnumerable<System.Type> collection

Returns
System.Boolean

SetSelection(Type)
Sets the selected types.
public override void SetSelection(Type selected)
Parameters
System.Type selected