docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddDetailDefinition

    AddDetailDefinition<T>()

    This will add a DetailDefinition of specified type to this GameItemDefinition.

    Declaration
    public T AddDetailDefinition<T>() where T : BaseDetailDefinition
    Returns
    Type Description
    T

    A reference to the DetailDefinition that was just added.

    Type Parameters
    Name Description
    T

    The type of the new DetailDefinition 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)