hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
18 lines (10 loc) • 623 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [client](./client.md) > [HytopiaUI](./client.hytopiaui.md) > [unregisterLoadedSceneUITemplates](./client.hytopiaui.unregisterloadedsceneuitemplates.md)
## HytopiaUI.unregisterLoadedSceneUITemplates() method
Removes all custom Scene UI templates. Built-in HYTOPIA templates (prefixed with `hytopia:`<!-- -->) are preserved. Use this when cleaning up your game code on disconnect or world change.
**Signature:**
```typescript
unregisterLoadedSceneUITemplates(): void;
```
**Returns:**
void