Class ProfileDefinition
Class ProfileDefinition.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.ConfiguratorRuntime
Syntax
[CreateAssetMenu(menuName = "Forma/Profile Definition", fileName = "Profile Definition", order = 10)]
[Serializable]
public class ProfileDefinition : ScriptableObject
Constructors
ProfileDefinition()
Initializes a new instance of the ProfileDefinition class.
Declaration
public ProfileDefinition()
Fields
anyProfileDefinitionChanged
Any profile definition changed
Declaration
public static Action<ProfileDefinitionChangedArgs> anyProfileDefinitionChanged
Field Value
Type | Description |
---|---|
Action<ProfileDefinitionChangedArgs> |
profiles
The profiles
Declaration
[SerializeField]
public List<ConfiguratorProfile> profiles
Field Value
Type | Description |
---|---|
List<ConfiguratorProfile> |
Properties
AddressableLoadMode
Gets or sets the addressable load mode.
Declaration
public Addressable.LoadMode AddressableLoadMode { get; set; }
Property Value
Type | Description |
---|---|
Addressable.LoadMode | The addressable load mode. |
Methods
FirstProfileReference()
Firsts the profile reference.
Declaration
public ConfiguratorProfileReference FirstProfileReference()
Returns
Type | Description |
---|---|
ConfiguratorProfileReference | ConfiguratorProfileReference. |
ProfileReference(ConfiguratorProfile)
Profiles the reference.
Declaration
public ConfiguratorProfileReference ProfileReference(ConfiguratorProfile profile)
Parameters
Type | Name | Description |
---|---|---|
ConfiguratorProfile | profile | The profile. |
Returns
Type | Description |
---|---|
ConfiguratorProfileReference | ConfiguratorProfileReference. |