docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnAuthorityPushTransformState

    OnAuthorityPushTransformState(ref NetworkTransformState)

    Invoked just prior to being pushed to non-authority instances.

    Declaration
    protected override void OnAuthorityPushTransformState(ref NetworkTransform.NetworkTransformState networkTransformState)
    Parameters
    Type Name Description
    NetworkTransform.NetworkTransformState networkTransformState

    the state being pushed

    Overrides
    NetworkTransform.OnAuthorityPushTransformState(ref NetworkTransform.NetworkTransformState)
    Remarks

    This is useful to know the exact position, rotation, or scale values sent to non-authoritative instances. This is only invoked on the authoritative instance.

    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)