Version 3.3.0.1

ImportSettingsConfig class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[SirenixEditorConfig]
public class ImportSettingsConfig : GlobalConfig<ImportSettingsConfig>, IGlobalConfigEvents
Configurations for Odin DLLs import settings.
Inheritance

Constructors

ImportSettingsConfig()
public ImportSettingsConfig()

Properties

AssemblyBuildConfiguration
[ShowInInspector]
[LabelWidth(270F)]
[EnumToggleButtons]
[EnableIf("EnableApplyButton")]
[BoxGroup("SelectApplyBox", true, false, 0F, ShowLabel = false)]
[HorizontalGroup("SelectApplyBox/Select", 590F, 0, 0, 0F)]
public ImportSettingsConfig.OdinAssemblyOptions AssemblyBuildConfiguration { get; set; }
AutomateBeforeBuild
Gets or sets a value indicating whether or not Odin should automatically configure the import settings of its DLLs in a preprocess build step. Keep in mind that this feature is only supported by Unity version 5.6 and up.
[ShowInInspector]
[BoxGroup("AutomateBox", true, false, 0F, ShowLabel = false)]
[LabelWidth(270F)]
[SuffixLabel("$AutomateSuffix", false)]
[DisableIf("editorOnlyMode")]
[EnableIf("IsAutomationSupported")]
public bool AutomateBeforeBuild { get; set; }
IsAutomationSupported
Gets a value indicating whether or not automatic configuration of Odin's DLL import settings is supported by the current Unity version.
public static bool IsAutomationSupported { get; }

Methods

ApplyImportSettings()
public void ApplyImportSettings()
GetRecommendedOption()
public ImportSettingsConfig.OdinAssemblyOptions GetRecommendedOption()