docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CategoryAsset

    CategoryAsset instance are used as filter arguments when querying CatalogItemAsset instances within their catalog. Each catalog is responsible for containing and managing its own set of CategoryAsset instance.

    Inheritance
    object
    Object
    ScriptableObject
    CategoryAsset
    Inherited Members
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    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 sealed class CategoryAsset : ScriptableObject

    Properties

    Name Description
    catalog

    Reference to the catalog containing this CategoryAsset instance.

    displayName

    The readable name of this CategoryAsset instance. It is used to make the Editor more comfortable, but it can also be used at runtime to display a readable information to the players.

    id

    The identifier of this CategoryAsset.

    Methods

    Name Description
    Equals(object)

    If id and displayName match then the CategoryAsset are deemed equal.

    GetHashCode()

    Serves as the default hash function.

    Operators

    Name Description
    operator ==(CategoryAsset, CategoryAsset)

    == Overload. If id and displayName match then the CategoryAsset are deemed equal. Note: Two null objects are considered equal.

    operator !=(CategoryAsset, CategoryAsset)

    != Overload. If id and displayName don't match the CategoryAsset are deemed not equal. Note: Two null objects are considered equal.

    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)