XGUI-3
Xenthio Xenthio Library update 1mo ago

XGUI-3

favorite9favorites
thumb_up11upvotes
hard_drive 1 MB folder 382 files build Engine v25
open_in_new View on sbox.game

About This Package

XGUI-3 is a new version of XGUI that cleans up and expands on XGUI-2.

It's most notable feature is the addition of an ImGui style immediate mode UI API, which makes debugging UI and development panels quick and easy to implement.

In order to use it, you must place one of these in the scene
image.png 2.67 KB
Then after that, you can call the ImXGUI.Begin functions and stuff to draw immediate mode windows in any component anywhere in update or fixedupdate. Here's an example to get you started, The API will aim to match ImGui
private bool showWindow = true;
private bool checkboxValue = false;
private float floatValue = 0.5f;
private Color colour = Color.White;
protected override void OnUpdate()
{
	// Create a window
	if ( ImXGUI.Begin( "ImXGUI Window", ref showWindow ) )
	{
		ImXGUI.Text( "Welcome to ImXGUI!" );

		if ( ImXGUI.Button( $"Click Me! ({clickCount} Clicks)" ) )
		{
			Log.Info( "Button clicked!" );
		}

		if ( ImXGUI.Checkbox( "Toggle Option", ref checkboxValue ) )
		{
			Log.Info( $"Checkbox changed to: {checkboxValue}" );
		}

		ImXGUI.SliderFloat( "Float Slider", ref floatValue, 0.0f, 1.0f, 0.025f );

		ImXGUI.ColorPicker( "Colour", ref colour );

		ImXGUI.End();
	}
}
Or you can use the razor based GUI by creating a panel that derives from window, and adding it to the XGUIRootPanel like so
Scene.GetSystem<XGUISystem>().Panel.AddChild<MyCoolWindow>();

Media (3)

No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
Package ID: xenthio.xgui-3
Created: 2025-04-02 05:52 UTC
Updated: 2026-05-14 00:33 UTC
Type: library
Public: Yes
Version: 240467
files: 382
Size: 1.3 MB
Engine Version: 25
Asset Version ID: 240467
Version Created: 2026-05-14 00:33 UTC
Hash: -6828989431446094369
Manifest: Open manifest
Cs Proj Name:
Compiler: XGUI, SANDBOX;ADDON;DEBUG, 1701;1702;1591;, , 1, Array, Array, Array
Resources:
Code Package References:
new_releases Latest Update May 14, 2026
Changes on 2026-05-14
tag v240467 folder 382 files hard_drive 1.3 MB build Engine v25
240467 May 14, 2026
Changes on 2026-05-14
folder 382 files hard_drive 1.31 MB build Engine v25
119063 Sep 23, 2025
Changes on 2025-09-23
folder 381 files hard_drive 1.3 MB build Engine v22
119062 Sep 23, 2025
Changes on 2025-09-23
folder 381 files hard_drive 1.3 MB build Engine v22
118121 Sep 15, 2025
Changes on 2025-09-15
folder 381 files hard_drive 1.3 MB build Engine v22
112782 Aug 1, 2025
Changes on 2025-08-01
folder 380 files hard_drive 1.29 MB build Engine v20
112781 Aug 1, 2025
Changes on 2025-08-01
folder 380 files hard_drive 1.29 MB build Engine v20
112425 Jul 28, 2025
Changes on 2025-07-28
folder 380 files hard_drive 1.3 MB build Engine v20
105473 Jun 2, 2025
Changes on 2025-06-02
folder 379 files hard_drive 1.28 MB build Engine v19
104580 May 31, 2025
Changes on 2025-05-31
folder 365 files hard_drive 1.26 MB build Engine v19
100844 Apr 30, 2025
Changes on 2025-04-30
folder 315 files hard_drive 1.06 MB build Engine v17