docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method New

    New(Type, int)

    Create a new object of type t.

    Declaration
    object New(Type type, int typeHash)
    Parameters
    Type Name Description
    Type type

    The type to return.

    int typeHash

    The hash code of the type.

    Returns
    Type Description
    object

    The new object.

    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)