Unity_XGUI
Utilities to make a lot of OnGUI. It is easy & fast.
Especially, FieldGUI
automatically makes GUI from your class and struct.
Import to Your Project
You can import this asset from UnityPackage.
BasicSample

BasicSample shows simply how to use. XGUI includes following type GUI.
int | float | string | bool | Enum |
Vector2 | Vector3 | Vector4 | Vector2Int | Vector3Int |
Color | Matrix4x4 | User Struct | User Class | IList |
FlexWindow, FoldoutPanel & TabPanel
FlexWindow
automatically scale its width and height when needed.
FoldoutPanel
& TabPanel
are able to hide or group some GUIs.
FieldGUI

FieldGUI
is main component in this utility.
FieldGUI
automatically generates GUI from your class or struct field,
and these GUI’s settings are able to control from the attributes.
It needs only a few steps like this.
public SampleClass sampleClass = new SampleClass();
private FieldGUI fieldGUI;
fieldGUI = new FieldGUI(this.sampleClass);
void OnGUI()
{
this.fieldGUI.Show();
}