EditorGUILayout Class  

Scripting > Editor Classes > EditorGUILayout

Auto-layouted version of EditorGUI

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Class Functions
TextField

FloatField

Make a float field

IntField

Make an int field.

Slider

Popup

ObjectField

Vector3Field

Vector2Field

RectField

Toggle