XGUI is an amazing new Editor Extension for UI Creation
XGUI is a child born out of pure hatred and loathing for the tedious process of creating Editor UI’s (Editor windows, Custom Inspectors, etc) for our own projects. Creating Editor UI’s is a time consuming process that is anything but streamlined and can take days to create a UI you are 100% happy with.
XGUI removes the tedious repetition from the process by providing you with a WYSIWYG UI editor that allows you to design your UI and make changes in real time without having to write code, or reload it. Simply point, click, and fill in the details. Then when you are happy with your design and wish to finalize it you are able to export it to actual c# code.
XGUI is also capable of creating UI’s that can be displayed at runtime by strictly using the GUI and GUILayout Elements. This is especially handy for creating quick diagnostic panels and editor controls for during testing.
Current Features
- No Coding Required
- WYSIWYG UI Editor
- Dependancy free code generation when your done.
- WYSIWYG window is a fully functional representation of your UI.
- Create Editor Windows
- Create Custom Inspector Windows
- Create Scene View UIs
- Create Runtime MonoBehavior UIs
- Supports GUI and GUILayout Elements
- Supports EditorGUI and EditorGUILayout elements
- Code Elements allow you to program your logic in the editor.
- 50 different UI and Code Elements
- Extendable Element System - Write your own elements
- Template System allows you to create customized templates for each of the UI types.
There are a lot of features listed here, but I wanna touch on a few important ones. Exported Code, and Creating your own GUI Element Plugins.
Exported Code
Exported Code Overview
XGUIs core functionality is the ability to export your layout as actual c# code for you to use.
The code exported by XGUI is highly optimized and attempts to create as little “garbage” for the collector as possible when displaying UI’s by generating code to create and caching things like styles, colors, etc.
Creating your own GUI Element Plugins
Plugin Overview Besides the included GUIElements you can write your own plugins which XGUI will find when it loads and display in the toolbar. These plugins can define their own code to be displayed in the live preview, and the code that is generated when exported.
This Post is currently being updated to reflect the most recent information.
Dont forget to [Watch This Thread]( XGUI - UI WYSIWYG, Visual Coding and Code generation. watch-confirm)





