private void OnEnterEvent(ZyreEventEnter enterEvent) { var temp = EnterEvent; // for thread safety temp?.Invoke(this, enterEvent); }