docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate NetworkTransform.MoveValidationDelegate

    The delegate used to check if a move is valid

    Namespace: MLAPI.Prototyping
    Assembly: Unity.Multiplayer.MLAPI.Prototyping.dll
    Syntax
    public delegate bool NetworkTransform.MoveValidationDelegate(ulong clientId, Vector3 oldPos, Vector3 newPos)
    Parameters
    Type Name Description
    ulong clientId

    The client id the move is being validated for

    Vector3 oldPos

    The previous position

    Vector3 newPos

    The new requested position

    Returns
    Type Description
    bool

    Returns Whether or not the move is valid

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