Class CompatibilitySettingExtensions
Namespace: Unity.Industrial.Forma.Editor.UI.Components
Syntax
public static class CompatibilitySettingExtensions : object
Methods
ApplyAllSettings(CompatibilitySettingsAsset, BuildProfile)
Apply all the settings found in the Compatibility Setting asset.
Declaration
public static bool ApplyAllSettings(this CompatibilitySettingsAsset compatibilitySettingsAsset, BuildProfile buildProfile)
Parameters
Type | Name | Description |
---|---|---|
CompatibilitySettingsAsset | compatibilitySettingsAsset | Compatibility Setting |
BuildProfile | buildProfile | Build Profile |
Returns
Type | Description |
---|---|
Boolean |
IsAllSettingsApplied(CompatibilitySettingsAsset, BuildProfile)
Check if all the settings found in the Compatibility Setting asset are currently applied.
Declaration
public static bool IsAllSettingsApplied(this CompatibilitySettingsAsset compatibilitySettingsAsset, BuildProfile buildProfile)
Parameters
Type | Name | Description |
---|---|---|
CompatibilitySettingsAsset | compatibilitySettingsAsset | Compatibility Setting |
BuildProfile | buildProfile | Build Profile |
Returns
Type | Description |
---|---|
Boolean |
IsCompatibleWithBuildProfile(CompatibilitySettingsAsset, BuildProfile)
Check if a Compatibility Setting asset match a build profile.
Declaration
public static bool IsCompatibleWithBuildProfile(this CompatibilitySettingsAsset compatibilitySettingsAsset, BuildProfile buildProfile)
Parameters
Type | Name | Description |
---|---|---|
CompatibilitySettingsAsset | compatibilitySettingsAsset | Compatibility Setting |
BuildProfile | buildProfile | Build Profile |
Returns
Type | Description |
---|---|
Boolean |