Skip to content

User Guide

A comprehensive extension that helps you keep your interface files clean and your scripts properly prepared to work in Unity.

To start using your extension and benefit from better formatting and script control:

Your files with .uxml or .uss extensions now have direct formatting support within the development environment.

  1. Open any file with a .uxml or .uss extension.

  2. Right-click and select Format Document.

  3. Alternatively, use your editor’s shortcut: Ctrl + Shift + P -> and type “Format Document”.

    UIToolkit Essentials scripts initialization window

When you migrate a UI Toolkit project from one editor to another, or you have just created your UI directory structure, the scripts need to be adjusted.

  1. Go to the Activity Bar (Sidebar) in your Visual Studio Code.

  2. There you will see a new exclusive icon for the UIToolkit Essentials extension.

  3. Click on the red button that says ▶ Initialize Scripts.

    UIToolkit Essentials sidebar panel showing the initialization button
  4. The window will indicate the process through text on the button showing the status: ”✅ Scripts Started!”.