drwuu/playsmart-unity-uitoolkit-extensions — explained in plain English
Analysis updated 2026-05-18
Add even spacing between UI elements in a Unity menu without manually setting margins.
Create slanted, sports style buttons and panels for a game's UI without drawing custom art.
Let a designer tweak spacing and slant angles through USS stylesheets without editing code.
Install the extensions into an existing Unity UI Toolkit project via a Git URL package.
| drwuu/playsmart-unity-uitoolkit-extensions | d2phap/happlabox | jean-knapp/vs-properties-and-events-search-bar | |
|---|---|---|---|
| Stars | 7 | 7 | 7 |
| Language | C# | C# | C# |
| Last pushed | — | 2023-03-14 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Installs as a Unity package via a Git URL, no extra infrastructure needed.
Playsmart UI Toolkit Extensions is a small code library for Unity, the game engine, that adds a couple of missing features to Unity's UI Toolkit system for building game interfaces. It focuses on two things: spacing between elements and slanted shapes. The first feature, called Gap, solves a common annoyance. Unity's UI Toolkit does not support the gap property that web developers use to add even spacing between items in a row or column. This library brings that spacing back in a way that automatically works whether the container arranges its items horizontally or vertically, and it keeps layouts clean by making sure the last item in a list does not get an extra bit of spacing it does not need. The second feature, called Skew, lets a developer draw slanted, parallelogram shaped panels and buttons instead of plain rectangles, a look often used in game menus and sports style interfaces. You can control the angle and size of the slant, the fill color, and the border color and width. There is also a SkewButton, a clickable version of the shape that behaves like a normal Unity button but registers clicks accurately even though its edges are angled rather than straight. Both features work through custom style properties written directly in Unity's USS stylesheets, similar to how CSS works on a website, so a programmer sets things up once and a designer can then adjust spacing, angles, and colors without touching any code. Installing the library happens through Unity's Package Manager by adding it from a Git URL, so no manual file copying is needed. Once installed, the new elements can be used directly inside Unity's UXML markup files alongside standard UI Toolkit elements. The project is written in C# and is released under the MIT license, meaning it can be used freely, including in commercial games, as long as the copyright notice is kept.
A lightweight Unity library that adds flexbox-style gap spacing and slanted parallelogram panels and buttons to Unity's UI Toolkit.
Mainly C#. The stack also includes C#, Unity, UI Toolkit.
Use freely for any purpose, including commercial games, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.