docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetsDetailAsset

    Detail used to reference assets to a CatalogItemAsset using the Resources API.

    Inheritance
    object
    Object
    ScriptableObject
    BaseDetailAsset
    AssetsDetailAsset
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    BaseDetailAsset.itemDefinition
    BaseDetailAsset.Awake()
    BaseDetailAsset.AwakeDetail()
    BaseDetailAsset.DeserializeDetail()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.GameFoundation.CatalogManagement
    Assembly: solution.dll
    Syntax
    public class AssetsDetailAsset : BaseDetailAsset, ISerializationCallbackReceiver

    Methods

    Name Description
    ContainsName(string)

    Check if this collection contains the given name.

    DisplayName()

    Returns a friendly name for this BaseDetailAsset.

    GetAssetPath(string)

    Find an path that an asset stored in a resources folder.

    GetAssetPaths(string)

    Finds all resources folder paths that use the associated name. Note: this returns the current state of assets for this detail definition. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.

    GetAsset<T>(string)

    Load an asset that is stored in a resources folder.

    GetAssets<T>(string)

    Load all assets that use the associated name from resources folder.

    GetNames()

    Get a copy of the list of names as an array. Note: this returns the current state of names for this detail definition. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.

    GetNames(ICollection<string>)

    Populate a list of strings with all the names from this detail. Note: this returns the current state of names for this detail definition. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.

    TooltipMessage()

    Returns a description of the purpose of this BaseDetailAsset. It is displayed as a tooltip in editor.

    In This Article
    Back to top
    Copyright © 2024 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)