docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetReference

    A object representing an asset for the AssetTargetField.

    Inheritance
    object
    AssetReference
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Core
    Assembly: Unity.AppUI.dll
    Syntax
    [Serializable]
    public class AssetReference
    Remarks

    This is the value type of AssetTargetField. It is a lightweight, serializable descriptor rather than a live object handle, so the same field works in a player build, in the Editor, and against a remote asset catalogue.

    Fields

    name

    The name of the asset.

    Declaration
    public string name
    Field Value
    Type Description
    string

    type

    The type of the asset.

    Declaration
    public string type
    Field Value
    Type Description
    string

    typeIcon

    The type icon of the asset.

    Declaration
    public string typeIcon
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)