There’s nothing particularly special about GUI vs EditorGUI - they’re just two libraries of controls for you to use - but the difference is that the controls in EditorGUI cannot be used in game builds, because the code for them is part of the Editor, while GUI is a part of the engine itself).
[GUILayout](https://sulachiovenda.notion.site/GUILayout-c30866163aa4424394c620a72ca33845)
Going deep with IMGUI and Editor customization | Unity Blog