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