Layout Auto-Switch
The package supports switching between entire editor layouts when a Play, Pause or Stop (Edit mode) event happens. Instead of trying to fit all required tools and windows into one layout when using a single monitor, this option allows for mode-specific layouts.
For example, during Play mode a big Game window and a profiler may be needed, but as soon as Pause mode is switched, a layout with the Frame Debugger and the Scene window would be more useful.
By default, the package allows setting a specific layout for Play, Pause and Edit mode. More information on managing layouts can be found on the Manage Layouts section.
Setting the layout to "Don't Change" will ignore that mode and keep whatever layout it had previously.
Custom Layout Switching
Layouts can be switched at any time, regardless of the current editor status using the provided API in LayoutUtility
.
LayoutUtility.LoadLayout("LayoutName"});