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)
Related Posts
Leave a comment
Recent posts
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI