- Home /
Question by
Long2904 · Mar 13, 2020 at 12:13 PM ·
guilayouteditorguilayoutcustom inspector
What is the difference between editorguilayout and guilayout?
What is the difference between editorguilayout and guilayout? What should i use when making custom editor?
Comment
Best Answer
Answer by TomArano_Dimenco · Mar 13, 2020 at 12:29 PM
EditorGUILayout is made to work within the editor, GUILayout should also work ingame with rendering stuff on screen, but that does not mean u can not use GUILayout in the editor. use whatever u feel should work. not all functions are shared or work the same, some might work better for your case.
https://answers.unity.com/questions/601131/editorgui-editorguilayout-gui-guilayout-pshhh-when.html has some more info.