Immerseum.VRSimulator Namespace > EventManager Class : OnMoveControllerStart Event |
Fired when a controller is initiating a move. This event is typically invoked by either:
public event EventManager.MoveControllerPositionAction OnMoveControllerStart
public class myClass : MonoBehaviour { void OnEnable() { EventManager.OnMoveControllerStart += myCustomListener; } void OnDisable() { EventManager.OnMoveControllerStart -= myCustomListener; } void myCustomListener(int controller, ControllerPositions targetPosition) { // Custom listener logic goes here. } }