Enum AssetProductReference.Options
Product reference flag options.
Namespace: Unity.Industrial.Forma.Core.AddressableSources
Syntax
[Flags]
public enum Options
Fields
Name | Description | Value |
---|---|---|
Deactiveable | The product will be deactivated and the gameObject instance will stay in the scene if not "Destroyable" after unload. |
|
Destroyable | The product instance will be destroyed when switching product and ReleaseAsset() will be called. Otherwise, the gameObject instance will stay in the scene. |
|
UseProductCache | If not tag as "Destroyable" and the ProductRepository cache is Enabled, the product gameObject will be cached. |
|
UseSpawnPoint | Use the spawn point data to place the product. Otherwise, the product won't move. |