Version: 2017.2
public bool TryGetVelocity (out Vector3 velocity);

Parámetros

velocity The velocity of the interaction source, if the function returns true.

Valor de retorno

bool Returns true if the Vector3 passed in was filled out correctly, and false if otherwise.

Descripción

Gets the velocity of the interaction source, assuming the backing data is valid.