Version 3.3.1.2

TypeSelectorHandler_WILL_BE_DEPRECATED class

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public static class TypeSelectorHandler_WILL_BE_DEPRECATED
Handles instantiating different versions of the Type Selector depending on the context.
Inheritance
  • System.Object
  • TypeSelectorHandler_WILL_BE_DEPRECATED
Remarks

This handler only handles shared constructors between the two versions, for obsolete or unique constructors use the desired selector.

Methods

InstantiateSelector(AssemblyCategory, Boolean, Type, Nullable<Boolean>, Boolean, Nullable<Boolean>, Nullable<Boolean>, InspectorProperty)
public static OdinSelector<Type> InstantiateSelector(AssemblyCategory category, bool supportsMultiSelect = false, Type selectedType = null, bool? showCategories = default(bool? ), bool showHidden = false, bool? preferNamespaces = default(bool? ), bool? showNoneItem = default(bool? ), InspectorProperty property = null)
Parameters
AssemblyCategory category

System.Boolean supportsMultiSelect

System.Type selectedType

System.Nullable<System.Boolean> showCategories

System.Boolean showHidden

System.Nullable<System.Boolean> preferNamespaces

System.Nullable<System.Boolean> showNoneItem

InspectorProperty property

Returns
OdinSelector<System.Type>

InstantiateSelector(IEnumerable<Type>, Boolean, Type, Nullable<Boolean>, Boolean, Nullable<Boolean>, Nullable<Boolean>, InspectorProperty)
public static OdinSelector<Type> InstantiateSelector(IEnumerable<Type> types, bool supportsMultiSelect = false, Type selectedType = null, bool? showCategories = default(bool? ), bool showHidden = false, bool? preferNamespaces = default(bool? ), bool? showNoneItem = default(bool? ), InspectorProperty property = null)
Parameters
System.Collections.Generic.IEnumerable<System.Type> types

System.Boolean supportsMultiSelect

System.Type selectedType

System.Nullable<System.Boolean> showCategories

System.Boolean showHidden

System.Nullable<System.Boolean> preferNamespaces

System.Nullable<System.Boolean> showNoneItem

InspectorProperty property

Returns
OdinSelector<System.Type>