EventManager.RegisterClassHandler Unity crash
Posted: 12 Mar 2024, 11:24
When i am trying to detect button clicks in one "OnButtonClick" method i get unity crash. I guess this handler is not unregister on disable. What can i use instead of it or how can i fix this problem? My noesis version is 3.2.2
Code: Select all
Noesis.EventManager.RegisterClassHandler(typeof(Button), Button.ClickEvent,
new RoutedEventHandler(OnButtonClick));