Click or drag to resize

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)
Syntax
C#
public delegate bool MoveValidationDelegate(
	Vector3 oldPos,
	Vector3 newPos
)
Request Example View Source

Parameters

oldPos
Type: Vector3
The previous position
newPos
Type: Vector3
The new requested position

Return Value

Type: Boolean
Returns wheter or not the move is valid
See Also