docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BaseCatalog

    This is a class for storing elements for a system. Each catalog contains its own list of categories.

    Inheritance
    object
    BaseCatalog
    SingleCollectionCatalog<TItem>
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public abstract class BaseCatalog

    Constructors

    Name Description
    BaseCatalog()

    Initializes a new instance of the BaseCatalog class.

    Methods

    Name Description
    ContainsCategory(string)

    Tells whether or not this catalog contains a Category instance with the specified id as id.

    ContainsCategory(Category)

    Tells whether or not this catalog contains the specified Category instance.

    FindCategory(string)

    Looks for a Category by its id.

    GetCategories()

    Returns an array of all the Category instances of this catalog.

    GetCategories(ICollection<Category>)

    Fills in the given target collection with all the Category instances of this catalog, and returns their count. The target collection is cleared before being populated.

    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)