Immerseum.VRSimulator Namespace > EventManager Class : OnMoveControllerStart_Vector Event |
Fired when a controller is initiating a move to a specific set of coordinates. This event is typically invoked by either:
.
public event EventManager.MoveControllerPositionAction_Vector OnMoveControllerStart_Vector
public class myClass : MonoBehaviour { void OnEnable() { EventManager.OnMoveControllerStart_Vector += myCustomListener; } void OnDisable() { EventManager.OnMoveControllerStart_Vector -= myCustomListener; } void myCustomListener(int controller, Vector3 targetOffset, Quaternion targetRotation, bool relativeToOrigin) { // Custom listener logic goes here. } }