This is very interesting, there could be a “GUI Unit” (for a lack of a better term), it’s code that is always present and controls the whole UI of the player. With Camera, Units and other devices that allows you to control several aspects of the gameplay.