add gui.root & add 'app' library to project scripts

This commit is contained in:
MihailRis
2025-08-08 21:36:53 +03:00
parent e6812371ec
commit bfbfe59f9b
5 changed files with 20 additions and 1 deletions
+6
View File
@@ -100,3 +100,9 @@ gui.load_document(
```
Загружает UI документ с его скриптом, возвращает имя документа, если успешно загружен.
```lua
gui.root: Document
```
Корневой UI документ