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