Enum NetworkObject.OwnershipLockActions
When passed as a parameter in SetOwnershipStatus(OwnershipStatus, bool, OwnershipLockActions), the following additional locking actions will occur:
- None: (default) No locking action
- SetAndLock: Will set the passed in flags and then lock the NetworkObject
- SetAndUnlock: Will set the passed in flags and then unlock the NetworkObject
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public enum NetworkObject.OwnershipLockActions
Fields
Name | Description |
---|---|
None | No additional locking action will be performed |
SetAndLock | Sets the specified ownership flags and then locks the NetworkObject |
SetAndUnlock | Sets the specified ownership flags and then unlocks the NetworkObject |