CSS Flex layouts in Unity3D

Category Tutorials

2020 – UIToolkit/UIElements Quickstart guide for Unity Editor scripting

Unity has three different UI frameworks that run in parallel (IMGUI, UnityUI, and UIElements/UIToolkit). The latest of these is UIToolkit (identical to UIElements, but the marketing team renamed it), and it’s really very good – but most of the docs … continue reading

Guide: How to make Responsive Design Layouts in Unity 3D

Responsive Design is wonderful: you make your UI once, and have it automatically redesign itself to fit different screensizes and shapes, while looking great in all of them.

Game developers have been missing this feature – until now. It has … continue reading

Guide: Using Flexbox in Unity – 2020

What do I need?

Unity’s core UI system (UnityUI, also known as “uGUI”) has no support for Flexbox. However, you can download “Flexbox4Unity” from the AssetStore and it directly adds this missing support (there’s also a free version with reduced … continue reading

Guide: Automatically resize UIScrollview

Difficulty: BASIC

Unity3D’s built-in scrollview by default won’t resize to fit the UI you place inside it – which isn’t very useful. A lot of people end up writing a script to make this work, but we’ll cover easier ways … continue reading

Guide: Writing a Layout Algorithm

Difficulty: EXPERT

With each release of Flexbox4Unity, you get multiple free layout algorithms. Usually you want to use the latest one. For most people, this is all they’ll need.… continue reading

© 2021 Flexbox 4 Unity — Powered by WordPress

Theme by Anders NorenUp ↑