docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor NetworkVariableBase

    NetworkVariableBase(NetworkVariableReadPermission, NetworkVariableWritePermission)

    The default constructor for NetworkVariableBase that can be used to create a custom NetworkVariable.

    Declaration
    protected NetworkVariableBase(NetworkVariableReadPermission readPerm = NetworkVariableReadPermission.Everyone, NetworkVariableWritePermission writePerm = NetworkVariableWritePermission.Server)
    Parameters
    Type Name Description
    NetworkVariableReadPermission readPerm

    the NetworkVariableReadPermission access settings

    NetworkVariableWritePermission writePerm

    the NetworkVariableWritePermission access settings

    In This Article
    Back to top
    Copyright © 2024 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)