Enum SendToOwnerType
Meta-data of a GhostComponentAttribute, denoting whether or not the server should replicate the GhostField value back down to clients.
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[Flags]
public enum SendToOwnerType
Remarks
Typically used by IInputComponentData structs to replicate each clients inputs ONLY to other players.
Fields
Name | Description |
---|---|
All | Informs the server to replicate this component to all clients, including to the ghost owner. |
None | Informs the server to not replicate this component to any clients. |
SendToNonOwner | Informs the server to replicate this component to all clients except the ghost owner (i.e. the player who owns this ghost). |
SendToOwner | Informs the server to replicate this component back to the owner, exclusively. |