docs.unity.cn
    Show / Hide Table of Contents

    Class UnityObjectContext<T>

    Helper method for tests to create and destroy Unity Objects.

    Inheritance
    Object
    UnityObjectContext
    UnityObjectContext<T>
    Inherited Members
    UnityObjectContext.CreateGameObject(String)
    UnityObjectContext.CreateNetworkObject(String)
    UnityObjectContext.Dispose()
    Namespace: Unity.Netcode.RuntimeTests
    Syntax
    public class UnityObjectContext<T> : UnityObjectContext, IDisposable where T : Object
    Type Parameters
    Name Description
    T

    The type of Object this context incorporates.

    Properties

    Object

    Declaration
    public T Object { get; }
    Property Value
    Type Description
    T
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use