is this a thing? should I open source the UIToolkit design system I've built form my game?
by u/sinanata in Unity3D
:root {
--color-primary: rgb(34, 197, 94);
--color-bg: rgb(11, 15, 23);
--radius-md: 10px;
--space-md: 12px;
--motion-fast: 120ms;
}
.ds-btn--primary {
background-color: var(--color-primary);
}
.ds-btn--primary:hover {
background-color: var(--color-primary-hover);
}
.ds-btn:disabled {
opacity: 0.4;
}
toggle.RegisterValueChangedCallback(evt => {
if (evt.newValue)
root.AddToClassList("theme-light");
else
root.RemoveFromClassList("theme-light");
});
if (Screen.width < 768)
root.AddToClassList("mobile");
void StartSpinners(VisualElement root)
{
float angle = 0f;
root.schedule.Execute(() => {
angle = (angle + 6f) % 360f;
root.Query(className: "is-spinning").ForEach(el => {
el.style.rotate = new StyleRotate(new Rotate(angle));
});
}).Every(16);
}
Interesting fact: Most of the technical artists hired in the game industry know Python, C# (or C++) and HLSL. 👀
— Jettelly Inc. (@jettelly) December 5, 2025
And The Unity Shaders Bible can definitely help you get there. ✨
🔗 https://t.co/fw4pna2vUj#gamedev #unity3d #madewithunity #indiedev pic.twitter.com/nnMiBdXhJm