Skip to main content

MLAPI.Prototyping.NetworkTransform.MoveValidationDelegate

The delegate used to check if a move is valid

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public delegate bool MoveValidationDelegate(ulong clientId, Vector3 oldPos, Vector3 newPos);
Parameters#
TypeNameDescription
System.UInt64*clientIdThe client id the move is being validated for
UnityEngine.Vector3*oldPosThe previous position
UnityEngine.Vector3*newPosThe new requested position
Returns#
TypeDescription
System.BooleanReturns Whether or not the move is valid