Is there a way to decouple my logic from the UI, specially when using buttons? Similar to how you could assign a button callback in the inspector in the old system?
I don’t want my UI logic to have to know anything about my game logic, but I can’t seem to find a way around hardcoding a reference to my game logic in the UI logic.