docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkObjectReferenceTests

    Unit tests to test:

    • Serializing NetworkObject to NetworkObjectReference
    • Deserializing NetworkObjectReference to NetworkObject
    • Implicit operators of NetworkObjectReference
    Inheritance
    object
    NetworkObjectReferenceTests
    Implements
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Netcode.RuntimeTests
    Assembly: solution.dll
    Syntax
    public class NetworkObjectReferenceTests : IDisposable

    Constructors

    NetworkObjectReferenceTests()

    Declaration
    public NetworkObjectReferenceTests()

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    FailSerializeGameObjectWithoutNetworkObject()

    Declaration
    public void FailSerializeGameObjectWithoutNetworkObject()

    FailSerializeNonSpawnedNetworkObject()

    Declaration
    public void FailSerializeNonSpawnedNetworkObject()

    FailSerializeNullGameObject()

    Declaration
    public void FailSerializeNullGameObject()

    FailSerializeNullNetworkObject()

    Declaration
    public void FailSerializeNullNetworkObject()

    TestDespawn()

    Declaration
    public void TestDespawn()

    TestImplicitConversionToGameObject()

    Declaration
    public void TestImplicitConversionToGameObject()

    TestImplicitToGameObjectIsNullWhenNotFound()

    Declaration
    public void TestImplicitToGameObjectIsNullWhenNotFound()

    TestNetworkVariable()

    Declaration
    public void TestNetworkVariable()

    TestRpc()

    Declaration
    [UnityTestAttribute]
    public IEnumerator TestRpc()
    Returns
    Type Description
    IEnumerator

    TestRpcImplicitGameObject()

    Declaration
    [UnityTestAttribute]
    public IEnumerator TestRpcImplicitGameObject()
    Returns
    Type Description
    IEnumerator

    TestRpcImplicitNetworkObject()

    Declaration
    [UnityTestAttribute]
    public IEnumerator TestRpcImplicitNetworkObject()
    Returns
    Type Description
    IEnumerator

    TestSerializeGameObject()

    Declaration
    public void TestSerializeGameObject()

    TestSerializeNetworkObject()

    Declaration
    public void TestSerializeNetworkObject()

    TestTryGet()

    Declaration
    public void TestTryGet()

    Implements

    IDisposable
    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)