docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method NonAuthorityOwnerSettingStateTest

    NonAuthorityOwnerSettingStateTest(Interpolation)

    This test validates the SetState(Vector3?, Quaternion?, Vector3?, bool) method usage for the non-authoritative side. It will either be the owner or the server making/requesting state changes. This validates that:

    • The owner authoritative mode can still be controlled by the server (i.e. owner authoritative with server authority override capabilities)
    • The server authoritative mode can still be directed by the client owner.
    Declaration
    public void NonAuthorityOwnerSettingStateTest(NetworkTransformTests.Interpolation interpolation)
    Parameters
    Type Name Description
    NetworkTransformTests.Interpolation interpolation
    Remarks

    This also tests that the original server authoritative model with client-owner driven NetworkTransforms is preserved.

    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)