Immerseum.VRSimulator Namespace > EventManager Class : OnMoveControllerEnd Event |
public event EventManager.MoveControllerPositionEndAction OnMoveControllerEnd
public class myClass : MonoBehaviour { void OnEnable() { EventManager.OnMoveControllerEnd += myCustomListener; } void OnDisable() { EventManager.OnMoveControllerEnd -= myCustomListener; } void myCustomListener(int controller) { // Custom listener logic goes here. } }