docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkPrefaInstanceHandler

    The Prefab instance handler to use for this test

    Inheritance
    object
    NetworkPrefaInstanceHandler
    Implements
    INetworkPrefabInstanceHandler
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.RuntimeTests
    Assembly: Unity.Netcode.RuntimeTests.dll
    Syntax
    public class NetworkPrefaInstanceHandler : INetworkPrefabInstanceHandler

    Constructors

    NetworkPrefaInstanceHandler(NetworkObject)

    Declaration
    public NetworkPrefaInstanceHandler(NetworkObject networkObject)
    Parameters
    Type Name Description
    NetworkObject networkObject

    Methods

    Destroy(NetworkObject)

    Declaration
    public void Destroy(NetworkObject networkObject)
    Parameters
    Type Name Description
    NetworkObject networkObject

    Instantiate(ulong, Vector3, Quaternion)

    Declaration
    public NetworkObject Instantiate(ulong ownerClientId, Vector3 position, Quaternion rotation)
    Parameters
    Type Name Description
    ulong ownerClientId
    Vector3 position
    Quaternion rotation
    Returns
    Type Description
    NetworkObject

    StillHasInstances()

    Declaration
    public bool StillHasInstances()
    Returns
    Type Description
    bool

    Implements

    INetworkPrefabInstanceHandler
    In This Article
    Back to top
    Copyright © 2026 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)