Jul
24
2016

Enter Play Mode with F5 key

Woaaah! Been waiting for this feature since VB5.. to have unity enter playmode with F5 key!
*Same key can be used to stop play mode also

Founded pretty much ready script from unity answers,
removed the secondary shortcut and added check for if in playmode, then dont try saving..
(It could be customized to have separate Escape key for exit playmode too)

source: “F5 to play/stop”
https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Editor/EditorShortCutKeys.cs

Next dream:
– Pressing F5 in VisualStudio would switch to unity/compile scripts, then enter playmode! (all with 1 keypress from vs)


Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.