docs.unity.cn
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    AssetLabelReference
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets
    Syntax
    [Serializable]
    public class AssetLabelReference : 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.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use