docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDetails

    GetDetails()

    Returns an array of all the BaseDetail instances of this CatalogItem instance.

    Declaration
    public BaseDetail[] GetDetails()
    Returns
    Type Description
    BaseDetail[]

    An array of all the details.

    Remarks

    Keep in mind that this method allocates an array. If you want to avoid allocations, please consider using GetDetails(ICollection<BaseDetail>) instead.

    GetDetails(ICollection<BaseDetail>)

    Fills in the given target collection with all the BaseDetail instance of this CatalogItem instance. The target collection is cleared before being populated.

    Declaration
    public int GetDetails(ICollection<BaseDetail> target = null)
    Parameters
    Type Name Description
    ICollection<BaseDetail> target

    The target container of all the BaseDetail instances.

    Returns
    Type Description
    int
    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)