docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetValue

    SetValue<T>(T)

    Set value of type T to this build context.

    Declaration
    public void SetValue<T>(T value) where T : class
    Parameters
    Type Name Description
    T value

    The value to set.

    Type Parameters
    Name Description
    T

    The value type.

    SetValue<T>()

    Set value of type T to this build context to its default using TypeConstruction utility.

    Declaration
    public void SetValue<T>() where T : class
    Type Parameters
    Name Description
    T

    The value type.

    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)