docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ClientOwnerWithReadWriteChangesNetVar

    ClientOwnerWithReadWriteChangesNetVar()

    This tests the scenario where a client owner has both read and write permissions set. The server should be the only instance that can read the NetworkVariable. ServerCannotChangeOwnerWritableNetVar performs the same check to make sure the server cannot write to a client owner NetworkVariable with owner write permissions.

    Declaration
    [UnityTestAttribute]
    public IEnumerator ClientOwnerWithReadWriteChangesNetVar()
    Returns
    Type Description
    IEnumerator
    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)