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

    Name Description
    NetworkObjectReferenceTests()

    Methods

    Name Description
    Dispose()

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

    FailSerializeGameObjectWithoutNetworkObject()
    FailSerializeNonSpawnedNetworkObject()
    FailSerializeNullGameObject()
    FailSerializeNullNetworkObject()
    TestDespawn()
    TestImplicitConversionToGameObject()
    TestImplicitToGameObjectIsNullWhenNotFound()
    TestNetworkVariable()
    TestRpc()
    TestRpcImplicitGameObject()
    TestRpcImplicitNetworkObject()
    TestSerializeGameObject()
    TestSerializeNetworkObject()
    TestTryGet()
    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)