docs.unity3d.com
    Show / Hide Table of Contents

    Delegate NetworkTransform.OnClientRequestChangeDelegate

    The handler delegate type that takes client requested changes and returns resulting changes handled by the server.

    Namespace: Unity.Netcode.Components
    Syntax
    public delegate (Vector3 pos, Quaternion rotOut, Vector3 scale) OnClientRequestChangeDelegate(Vector3 pos, Quaternion rot, Vector3 scale);
    Parameters
    Type Name Description
    Vector3 pos

    The position requested by the client.

    Quaternion rot

    The rotation requested by the client.

    Vector3 scale

    The scale requested by the client.

    Returns
    Type Description
    (T1, T2, T3)<Vector3, Quaternion, Vector3>

    The resulting position, rotation and scale changes after handling.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023