docs.unity.cn
    Show / Hide Table of Contents

    Method New

    New(Type, Int32)

    Create a new object of type t.

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

    The type to return.

    Int32 typeHash

    The hash code of the type.

    Returns
    Type Description
    Object

    The new object.

    Implements
    IAllocationStrategy.New(Type, Int32)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use