Field HasOwner
Add a GhostOwner tracking which connection owns this component. You must set the GhostOwner to a valid NetworkId.Value at runtime.
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[Tooltip("Automatically adds a `GhostOwner`, which allows the server to set (and track) which connection owns this ghost. In your server code, you must set the `GhostOwner` to a valid `NetworkId.Value` at runtime.")]
public bool HasOwner
Returns
Type | Description |
---|---|
bool |