Class OwnerModifiedObject
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.Netcode.RuntimeTests
Syntax
public class OwnerModifiedObject : NetworkBehaviour, INetworkUpdateSystem
Fields
AddValues
Declaration
public bool AddValues
Field Value
Type | Description |
---|---|
Boolean |
MyNetworkList
Declaration
public NetworkList<int> MyNetworkList
Field Value
Type | Description |
---|---|
NetworkList<Int32> |
NetworkUpdateStageToCheck
Declaration
public NetworkUpdateStage NetworkUpdateStageToCheck
Field Value
Type | Description |
---|---|
NetworkUpdateStage |
Methods
Changed(NetworkListEvent<Int32>)
Declaration
public void Changed(NetworkListEvent<int> listEvent)
Parameters
Type | Name | Description |
---|---|---|
NetworkListEvent<Int32> | listEvent |
InitializeLastCient()
Declaration
public void InitializeLastCient()
NetworkUpdate(NetworkUpdateStage)
Declaration
public void NetworkUpdate(NetworkUpdateStage updateStage)
Parameters
Type | Name | Description |
---|---|---|
NetworkUpdateStage | updateStage |
Implements
OnDestroy()
Declaration
public override void OnDestroy()