unity stop play mode on key press code example Example: unity shortcut play ctrl + p - play ctrl + shift + p - pause