Class CatalogProductReference
Class CatalogProductReference.
Inherited Members
Namespace: UnityEngine.Industrial.Configuring.Core
Syntax
[Serializable]
public class CatalogProductReference : AssetProductReference
Constructors
CatalogProductReference(IResourceLocation)
Initializes a new instance of the CatalogProductReference class.
Declaration
public CatalogProductReference(IResourceLocation mCatalogAsset)
Parameters
Type | Name | Description |
---|---|---|
IResourceLocation | mCatalogAsset | The m catalog asset. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | mCatalogAsset |
Properties
FriendlyName
Gets or sets the name of the friendly.
Declaration
public override string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
String | The name of the friendly. |
Overrides
Methods
IsValid()
Returns true if ... is valid.
Declaration
public override bool IsValid()
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
LoadAssetAsync<TObject>()
Loads the asset asynchronous.
Declaration
public override AsyncOperationHandle<TObject> LoadAssetAsync<TObject>()
Returns
Type | Description |
---|---|
AsyncOperationHandle<TObject> | AsyncOperationHandle<TObject>. |
Type Parameters
Name | Description |
---|---|
TObject | The type of the t object. |
Overrides
ReleaseAsset()
Releases the asset.
Declaration
public override void ReleaseAsset()