I am trying to update client UI clocks based on server clock.
I am not sure if there is a way to call an event or create a dispatcher from GameMode to all Controllers.
My setup is the following:
- Game mode has an event tick that calculates some variables for the clock. Once calculated it send them to GameState.
- GameState has clock variables replicated.
- PlayerController has references to the game state and ui.
- UI has bound variables related to the clock and are set from player controller.
I am not sure how to call the event to update UI variables