Version 3.3.1.2

TypeRegistryUserConfig class

Namespace: Sirenix.Config
Assembly: Sirenix.OdinInspector.Editor
[SirenixEditorConfig]
public class TypeRegistryUserConfig : GlobalConfig<TypeRegistryUserConfig>, IGlobalConfigEvents
Inheritance

Constructors

TypeRegistryUserConfig()
public TypeRegistryUserConfig()

Fields

addedIllegalTypes
public SerializedTypeHashSet addedIllegalTypes
hiddenTypes
public SerializedTypeHashSet hiddenTypes
shownTypes
public SerializedTypeHashSet shownTypes
typePriorities
public SerializedTypePriorityDictionary typePriorities
typeSettings
public SerializedTypeSettingsDictionary typeSettings

Properties

IllegalTypes
public HashSet<Type> IllegalTypes { get; }

Methods

GetPriority(Type)
public int GetPriority(Type type)
Parameters
System.Type type

Returns
System.Int32

HandleDefaultSettings(Type, TypeSettings, TypeRegistryItemAttribute)
public void HandleDefaultSettings(Type type, TypeSettings settings, TypeRegistryItemAttribute itemAttribute)
Parameters
System.Type type

TypeSettings settings

TypeRegistryItemAttribute itemAttribute

IsIllegal(Type)
public bool IsIllegal(Type type)
Parameters
System.Type type

Returns
System.Boolean

IsModified(Type)
public bool IsModified(Type type)
Parameters
System.Type type

Returns
System.Boolean

IsVisible(Type)
public bool IsVisible(Type type)
Parameters
System.Type type

Returns
System.Boolean

OpenEditor()
public void OpenEditor()
RemoveSettings(Type)
public void RemoveSettings(Type type)
Parameters
System.Type type

ResetType(Type)
public void ResetType(Type type)
Parameters
System.Type type

SetIllegal(Type, Boolean)
public void SetIllegal(Type type, bool value)
Parameters
System.Type type

System.Boolean value

SetPriority(Type, Int32, TypeRegistryItemAttribute)
public void SetPriority(Type type, int value, TypeRegistryItemAttribute itemAttribute)
Parameters
System.Type type

System.Int32 value

TypeRegistryItemAttribute itemAttribute

SetSettings(Type, TypeSettings)
public void SetSettings(Type type, TypeSettings value)
Parameters
System.Type type

TypeSettings value

SetVisibility(Type, Boolean)
public void SetVisibility(Type type, bool isVisible)
Parameters
System.Type type

System.Boolean isVisible

TryGetSettings(Type)
public TypeSettings TryGetSettings(Type type)
Parameters
System.Type type

Returns
TypeSettings