Repository navigation
API Function defineUIService
github-actions[bot] edited this page Dec 2, 2026
·
1 revision
function defineUIService(component, options): UIServiceDef;Defined in: src/plugins/ui/runtime/uiServices.ts:52
Declare the service for views of component (a project path, ui/Hud.svelte or asset:ui/Hud.svelte; matched as
project paths are, without regard to case). One per file: declaring a file again throws, except while scripts reload.
string
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference