Skip to content

AUIUI for VRChat worlds

Write a view in an HTML-like file and a small stylesheet. The editor compiles them into a uGUI prefab with generated UdonSharp wiring. Every string is a translation key.

AUI

A panel built with AUI, running in a VRChat world project

In short ​

aui
<view name="Hello" width="300" height="140">
  <text key="hello.title" class="title"/>
  <text key="hello.greeting" args="{playerName}"/>
  <panel class="row">
    <spacer/>
    <button onclick="Wave" key="hello.wave" icon="hand"/>
  </panel>
</view>
csharp
public partial class Hello : AuiView
{
    protected override void OnStart()
    {
        PlayerName = Networking.LocalPlayer.displayName;
    }

    public void Wave() { /* ... */ }
}

Save the file. The editor writes Hello.g.cs, scaffolds Hello.cs once, and builds Hello.prefab. Drag the prefab into the scene.

Install it or read what AUI is and is not first.