Class ShowHideObject
Inherited Members
NetworkBehaviour.__rpc_func_table
NetworkBehaviour.__rpc_name_table
NetworkBehaviour.__rpc_exec_stage
NetworkBehaviour.NetworkVariableFields
NetworkBehaviour.__getTypeName()
NetworkBehaviour.__createNativeList<T>()
NetworkBehaviour.__initializeVariables()
NetworkBehaviour.__initializeRpcs()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class ShowHideObject : NetworkBehaviour
Fields
ClientIdToTarget
Declaration
public static ulong ClientIdToTarget
Field Value
| Type | Description |
|---|---|
| ulong |
ClientIdsRpcCalledOn
Declaration
public static List<ulong> ClientIdsRpcCalledOn
Field Value
| Type | Description |
|---|---|
| List<ulong> |
ClientTargetedNetworkObjects
Declaration
public static List<ShowHideObject> ClientTargetedNetworkObjects
Field Value
| Type | Description |
|---|---|
| List<ShowHideObject> |
MyList
Declaration
public NetworkList<int> MyList
Field Value
| Type | Description |
|---|---|
| NetworkList<int> |
MyListSetOnSpawn
Declaration
public NetworkList<int> MyListSetOnSpawn
Field Value
| Type | Description |
|---|---|
| NetworkList<int> |
MyNetworkVariable
Declaration
public NetworkVariable<int> MyNetworkVariable
Field Value
| Type | Description |
|---|---|
| NetworkVariable<int> |
MyOwnerReadNetworkVariable
Declaration
public NetworkVariable<int> MyOwnerReadNetworkVariable
Field Value
| Type | Description |
|---|---|
| NetworkVariable<int> |
NetworkManagerOfInterest
Declaration
public static NetworkManager NetworkManagerOfInterest
Field Value
| Type | Description |
|---|---|
| NetworkManager |
ObjectsPerClientId
Declaration
public static Dictionary<ulong, ShowHideObject> ObjectsPerClientId
Field Value
| Type | Description |
|---|---|
| Dictionary<ulong, ShowHideObject> |
Silent
Declaration
public static bool Silent
Field Value
| Type | Description |
|---|---|
| bool |
ValueAfterOwnershipChange
Declaration
public static int ValueAfterOwnershipChange
Field Value
| Type | Description |
|---|---|
| int |
Methods
Changed(int, int)
Declaration
public void Changed(int before, int after)
Parameters
| Type | Name | Description |
|---|---|---|
| int | before | |
| int | after |
GetNetworkObjectById(ulong)
Declaration
public static NetworkObject GetNetworkObjectById(ulong networkObjectId)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | networkObjectId |
Returns
| Type | Description |
|---|---|
| NetworkObject |
OnGainedOwnership()
Declaration
public override void OnGainedOwnership()
Overrides
OnNetworkDespawn()
Declaration
public override void OnNetworkDespawn()
Overrides
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()
Overrides
OwnerReadChanged(int, int)
Declaration
public void OwnerReadChanged(int before, int after)
Parameters
| Type | Name | Description |
|---|---|---|
| int | before | |
| int | after |
SomeRandomClientRPC()
Declaration
[ClientRpc]
public void SomeRandomClientRPC()
TriggerRpc()
Declaration
public void TriggerRpc()