docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)