Enum NetworkObject.OwnershipStatus
Ownership status flags: None: If nothing is set, then ownership is considered "static" and cannot be redistributed, requested, or transferred (i.e. a Player would have this). Distributable: When set, this instance will be automatically redistributed when a client joins (if not locked or no request is pending) or leaves. Transferable: When set, a non-owner can obtain ownership immediately (without requesting and as long as it is not locked). RequestRequired: When set, When set, a non-owner must request ownership from the owner (will always get locked once ownership is transferred).
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
[Flags]
public enum NetworkObject.OwnershipStatus
Fields
Name | Description |
---|---|
Distributable | |
None | |
RequestRequired | |
Transferable |