Interface ICompatibilitySetting
Forma Compatibility Setting and Event interface used to execute and apply custom parameters to the project while targeting different Platform / Render Pipeline.
Namespace: Unity.Industrial.Forma.Editor.Build
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Editor", "Unity.Industrial.Configurator.Editor", null)]
public interface ICompatibilitySetting
Properties
CallbackOrder
The order in which the setting will be applied.
Declaration
int CallbackOrder { get; }
Property Value
Type | Description |
---|---|
Int32 |
DisplayName
The Setting's name
Declaration
string DisplayName { get; }
Property Value
Type | Description |
---|---|
String |
Enabled
Enable / Disable Setting
Declaration
bool Enabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
ApplySetting(BuildProfile, Boolean)
Applies the setting
Declaration
bool ApplySetting(BuildProfile buildProfile, bool showDialog = false)
Parameters
Type | Name | Description |
---|---|---|
BuildProfile | buildProfile | BuildProfile |
Boolean | showDialog | Should dialog be shown? |
Returns
Type | Description |
---|---|
Boolean | Setting was applied |
IsSettingApplied(BuildProfile)
Check if the setting is currently applied.
Declaration
bool IsSettingApplied(BuildProfile buildProfile)
Parameters
Type | Name | Description |
---|---|---|
BuildProfile | buildProfile | BuildProfile |
Returns
Type | Description |
---|---|
Boolean | Setting currently applied |