docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkObjectTests

    Inheritance
    object
    NetworkObjectTests
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.EditorTests
    Assembly: Unity.Netcode.EditorTests.dll
    Syntax
    public class NetworkObjectTests

    Methods

    GetBehaviourIndexNone(int)

    Declaration
    [Test]
    [TestCase(0)]
    [TestCase(1)]
    [TestCase(2)]
    public void GetBehaviourIndexNone(int index)
    Parameters
    Type Name Description
    int index

    GetBehaviourIndexOne()

    Declaration
    [Test]
    public void GetBehaviourIndexOne()

    NetworkManagerOverrideTest()

    Declaration
    [Test]
    public void NetworkManagerOverrideTest()

    NetworkObjectComponentOrder()

    Verifies that a NetworkObject component that is positioned after a NetworkBehaviour component will be migrated to a component index value that is before the lowest NetworkBehaviour component index value. (The lowest NetworkBehaviour component's index value will also change when this happens)

    Declaration
    [Test]
    public void NetworkObjectComponentOrder()
    In This Article
    Back to top
    Copyright © 2025 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)