docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddDetail

    AddDetail<T>()

    This will add a Detail of the specified type to this GameItem.

    Declaration
    protected T AddDetail<T>() where T : BaseDetail, new()
    Returns
    Type Description
    T

    A reference to the newly-created Detail that was added.

    Type Parameters
    Name Description
    T

    Type of detail to add.

    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)