NetworkedTransformMoveValidationDelegate Delegate |  |
[This is preliminary documentation and is subject to change.]
The delegate used to check if a move is valid
Namespace:
MLAPI.Prototyping
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic delegate bool MoveValidationDelegate(
Vector3 oldPos,
Vector3 newPos
)
Request Example
View SourceParameters
- oldPos
- Type: Vector3
The previous position - newPos
- Type: Vector3
The new requested position
Return Value
Type:
BooleanReturns wheter or not the move is valid
See Also