Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public class TypeSelector : OdinSelector<Type>, ISelectionChangeListener
public TypeSelector(AssemblyCategory assemblyCategories, bool supportsMultiSelect)
AssemblyCategory | assemblyCategories | |
System.Boolean | supportsMultiSelect |
public TypeSelector(IEnumerable<Type> types, bool supportsMultiSelect)
System.Collections.Generic.IEnumerable<System.Type> | types | |
System.Boolean | supportsMultiSelect |
public bool FlattenTree
public bool HideNamespaces
public override string Title { get; }
protected override void BuildSelectionTree(OdinMenuTree tree)
OdinMenuTree | tree |
protected override float DefaultWindowWidth()
System.Single |
public override bool IsValidSelection(IEnumerable<Type> collection)
System.Collections.Generic.IEnumerable<System.Type> | collection |
System.Boolean |
public override void SetSelection(Type selected)
System.Type | selected |