Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xjine/unity_xgui
Utilities to make a lot of IMGUI(OnGUI). It is easy & fast.
https://github.com/xjine/unity_xgui
assets unity
Last synced: 13 days ago
JSON representation
Utilities to make a lot of IMGUI(OnGUI). It is easy & fast.
- Host: GitHub
- URL: https://github.com/xjine/unity_xgui
- Owner: XJINE
- License: bsd-3-clause
- Created: 2017-12-02T19:25:52.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T10:29:39.000Z (6 months ago)
- Last Synced: 2024-06-24T12:06:18.144Z (6 months ago)
- Topics: assets, unity
- Language: C#
- Homepage:
- Size: 1.53 MB
- Stars: 30
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity_XGUI
Utilities to make a lot of IMGUI(OnGUI). It is easy & fast.
## Importing
You can use Package Manager or import it directly.
```
https://github.com/XJINE/Unity_XGUI.git?path=Assets/Packages/XGUI
```### Dependencies
This project use following resources.
- https://github.com/XJINE/Unity_ExpressionParser
## Various GUI
XGUI includes following type GUI.
int float string bool Enum
Vector2 Vector3 Vector4 Vector2Int Vector3Int
Color Matrix4x4 IList<T> (List<T>, T[])## Various Panel
``FlexWindow`` automatically scale its width and height when needed.
``ScrollPanel`` shows scroll handle when needed.
``FoldoutPanel`` & ``TabPanel`` hide or group some GUIs.
## FlexGUI
FlexGUI provides common feels to make GUI.
Usually, it is needed to define corresponding GUI.
```csharp
BoolGUI _boolGUI = new ("Bool" );
StringGUI _stringGUI = new ("String") { Width = 250 };
IntGUI _intGUI = new ("Int" ) { MinValue = 0, MaxValue = 100 };
```FlexGUI needs only a Type of the value.
```csharp
FlexGUI _boolGUI = new ("Bool" );
FlexGUI _stringGUI = new ("String") { Width = 250 };
FlexGUI _intGUI = new ("Int" ) { MinValue = 0, MaxValue = 100 };
```