Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Oian |
Hi!
How would you implement something like “toggle fullscreen by pressing F4” in your game GLOBALLY (meaning you should be able to toggle fullscreen mode no matter at which point/menu you are in the game)?
I know how to code it on a scene by scene basis. But when the scene changes i have to code it all over again.
Would a singleton like “Global_Inputs” or something be a a good option?