Class NetcodeParticipantManager
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: Unity.Cloud.Presence.Runtime
Syntax
public class NetcodeParticipantManager : MonoBehaviour, INetworkPrefabInstanceHandler
Methods
Destroy(NetworkObject)
Declaration
public void Destroy(NetworkObject networkObject)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkObject | networkObject |
Implements
Instantiate(UInt64, Vector3, Quaternion)
Declaration
public NetworkObject Instantiate(ulong ownerClientId, Vector3 position, Quaternion rotation)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt64 | ownerClientId | |
| Vector3 | position | |
| Quaternion | rotation |
Returns
| Type | Description |
|---|---|
| NetworkObject |
NetcodeParticipants()
Declaration
public IEnumerable<INetcodeParticipant> NetcodeParticipants()
Returns
| Type | Description |
|---|---|
| IEnumerable<INetcodeParticipant> |
Events
NetcodeParticipantAdded
Declaration
public event Action<INetcodeParticipant> NetcodeParticipantAdded
Event Type
| Type | Description |
|---|---|
| Action<INetcodeParticipant> |
NetcodeParticipantRemoved
Declaration
public event Action<INetcodeParticipant> NetcodeParticipantRemoved
Event Type
| Type | Description |
|---|---|
| Action<INetcodeParticipant> |