Class BuildProfile
Class BuildProfile.
Inherited Members
Namespace: UnityEditor.Industrial.Configuring.Build
Syntax
[Serializable]
[CreateAssetMenu(fileName = "BuildProfile.asset", menuName = "Forma/Build/Create Profile", order = 0)]
public class BuildProfile : ScriptableObject, ISerializationCallbackReceiver
Constructors
BuildProfile()
Initializes a new instance of the BuildProfile class.
Declaration
public BuildProfile()
Fields
AddressableLocalBuildPath
The addressable local build path
Declaration
[SerializeField]
public string AddressableLocalBuildPath
Field Value
Type | Description |
---|---|
String |
AddressableLocalLoadPath
The addressable local load path
Declaration
[SerializeField]
public string AddressableLocalLoadPath
Field Value
Type | Description |
---|---|
String |
buildTargetData
Build target data
Declaration
[SerializeReference]
public IBuildTargetData buildTargetData
Field Value
Type | Description |
---|---|
IBuildTargetData |
BuildType
The build type
Declaration
[SerializeReference]
public IBuildType BuildType
Field Value
Type | Description |
---|---|
IBuildType |
ConfiguratorProfile
The configurator profile
Declaration
[SerializeField]
public ConfiguratorProfileReference ConfiguratorProfile
Field Value
Type | Description |
---|---|
ConfiguratorProfileReference |
DefaultAddressableRemoteBuildPath
The addressable local build path
Declaration
[SerializeField]
public string DefaultAddressableRemoteBuildPath
Field Value
Type | Description |
---|---|
String |
DevelopmentMode
The development mode
Declaration
[SerializeField]
public bool DevelopmentMode
Field Value
Type | Description |
---|---|
Boolean |
LastBuildPath
The last build path
Declaration
[SerializeField]
public string LastBuildPath
Field Value
Type | Description |
---|---|
String |
ProductCatalogs
The product catalogs
Declaration
[SerializeField]
public List<ExportableProductCatalog> ProductCatalogs
Field Value
Type | Description |
---|---|
List<ExportableProductCatalog> |
ProductPublishType
Publish product type (eg: local, CCD, AWS, etc.)
Declaration
[SerializeField]
public ProductPublish ProductPublishType
Field Value
Type | Description |
---|---|
ProductPublish |
ProfileId
The profile identifier
Declaration
[SerializeField]
public string ProfileId
Field Value
Type | Description |
---|---|
String |
publishersData
Publisher data
Declaration
[SerializeReference]
public List<IPublisherData> publishersData
Field Value
Type | Description |
---|---|
List<IPublisherData> |
SelectedBuildTarget
Replaces SupportedBuildTarget, since we want to allow custom user-defined build target. store the string value.
Declaration
[SerializeField]
public string SelectedBuildTarget
Field Value
Type | Description |
---|---|
String |
SupportedBuildTarget
The selected supported build target
Declaration
[SerializeField]
[Obsolete]
public SupportedBuildTarget SupportedBuildTarget
Field Value
Type | Description |
---|---|
SupportedBuildTarget |
WaitForManagedDebugger
The wait for managed debugger
Declaration
[SerializeField]
public bool WaitForManagedDebugger
Field Value
Type | Description |
---|---|
Boolean |
Properties
ConfiguratorScenes
Gets or sets the configurator scenes.
Declaration
public List<SceneReference> ConfiguratorScenes { get; set; }
Property Value
Type | Description |
---|---|
List<SceneReference> | The configurator scenes. |
DisplayName
Gets or sets the display name.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
String | The display name. |
Methods
GetSupportedBuildTargetWithCurrentPlatform()
Gets the supported build target with current platform.
Declaration
public static SupportedBuildTarget GetSupportedBuildTargetWithCurrentPlatform()
Returns
Type | Description |
---|---|
SupportedBuildTarget | SupportedBuildTarget. |
OnAfterDeserialize()
Called when [after deserialize].
Declaration
public void OnAfterDeserialize()
Implements
OnBeforeSerialize()
Called when [before serialize].
Declaration
public void OnBeforeSerialize()
Implements
SetDefaultValues()
Sets the default values.
Declaration
[ContextMenu("Set Default Values", false, 10)]
public void SetDefaultValues()