Class NetworkBehaviourOnSynchronizeComponent
Inheritance
NetworkBehaviourOnSynchronizeComponent
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 NetworkBehaviourOnSynchronizeComponent : NetworkBehaviour
Fields
CustomSerializationData
Declaration
public NetworkBehaviourOnSynchronizeComponent.SomeCustomSerializationData CustomSerializationData
Field Value
Type | Description |
---|---|
NetworkBehaviourOnSynchronizeComponent.SomeCustomSerializationData |
Methods
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()
Overrides
OnSynchronize<T>(ref BufferSerializer<T>)
Declaration
protected override void OnSynchronize<T>(ref BufferSerializer<T> serializer)
where T : IReaderWriter
Parameters
Type | Name | Description |
---|---|---|
BufferSerializer<T> | serializer |
Type Parameters
Name | Description |
---|---|
T |
Overrides
Unity.Netcode.NetworkBehaviour.OnSynchronize<T>(Unity.Netcode.BufferSerializer<T>)