Change Unity Editor Window to specific layout when enter play mode, restore editor layout back after exit play mode
EditorPlayModeLayout_showcase.mp4
- install with package manager : https://github.com/CSaratakij/EditorPlayModeLayout.git#upm
- install the lastest package from release
- Install package
- Go to "Edit/Preferences..."
- Select "EditorPlayModeLayout" setting
- Tick "Enable" from the setting
- Switch to editor layout you want to use during editor play mode
(switch to different layout from the one you use normally in the edit mode to see the effect) - Go to "File/Save Current Layout as Playmode Layout"
- Switch to your default editor layout during editor edit mode
- Enter play mode, the editor layout will change to specific layout
- Tested only in Unity 2022.3