No, because each game would probably have to have a different way to detect whether or not you are in-game or in the menus.
SC2 can do it by checking a registry key that gets set for the Razer SC2 Keyboard/Headset. LoL can do it because it uses two different windows for in-game and for out-of-game. How are you supposed to detect when you are in-game for other games?
Plus, the purpose of this plugin isn't only for checking if you are in a game or not. OBS is for streaming more than just games. This plugin is for any context where you want to change scenes based on what window is selected.
SC2 can do it by checking a registry key that gets set for the Razer SC2 Keyboard/Headset. LoL can do it because it uses two different windows for in-game and for out-of-game. How are you supposed to detect when you are in-game for other games?
Plus, the purpose of this plugin isn't only for checking if you are in a game or not. OBS is for streaming more than just games. This plugin is for any context where you want to change scenes based on what window is selected.