Class AssetLabelReference
Reference to an asset label. This class can be used in scripts as a field and will use a CustomPropertyDrawer to provide a DropDown UI of available labels.
Namespace: UnityEngine.AddressableAssets
Syntax
public class AssetLabelReference : object, IKeyEvaluator
Properties
| Name | Description |
|---|---|
| labelString | The label string. |
| RuntimeKey | The runtime key used for indexing values in the Addressables system. |
Methods
| Name | Description |
|---|---|
| GetHashCode() | Get the hash code of this object. |
| RuntimeKeyIsValid() | Checks if the current RuntimeKey is valid. |