CTRL+S > "you must exit play mode to save the scene" But I don't want to save it

How can I make CTRL+S NOT trigger that message in play mode?

I want to use it for a blocking movement in game, don’t want to start any editor functions with it.


You could create an additional void OnGUI() function. Within that, you can check what Event.current is and if it’s your key combination, use Use() on it. It’s supposed to comsume the command from the editor. I haven’t tried it though, but it should work I guess.