Sonolus Wiki

Runtime UI

Runtime UI block is used to pass UI layout information back to Sonolus.

Identifier

const RuntimeUIId = 1005

Values

IndexInitial ValueDescription
0-80Layout information of menu UI
9-170Layout information of navigation previous UI
18-260Layout information of navigation next UI
27-350Layout information of instruction UI

For each UI:

IndexInitial ValueDescription
UI offset + 00Anchor X
UI offset + 10Anchor Y
UI offset + 20Pivot X
UI offset + 30Pivot Y
UI offset + 40Width
UI offset + 50Height
UI offset + 60Rotation
UI offset + 70Alpha
UI offset + 80Background

Access

CallbackReadWrite
preprocess
navigate
update

Remarks

It is recommended to adjust UI layout based on various factors such as screen aspect ratio and Runtime UI Configuration.