mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
update doc/*/scripting/events.md
This commit is contained in:
parent
1db3a1c6ba
commit
5a540bc8c7
2 changed files with 12 additions and 0 deletions
|
|
@ -245,6 +245,12 @@ function on_content_loaded()
|
|||
|
||||
Called after the content pack has been fully loaded
|
||||
|
||||
```lua
|
||||
function on_assets_loading()
|
||||
```
|
||||
|
||||
Called on assets loading start
|
||||
|
||||
## HUD events
|
||||
|
||||
Callbacks specified in *hud.lua* script.
|
||||
|
|
|
|||
|
|
@ -256,6 +256,12 @@ function on_content_loaded()
|
|||
|
||||
Вызывается после того, как контент-пак был полностью загружен
|
||||
|
||||
```lua
|
||||
function on_assets_loading()
|
||||
```
|
||||
|
||||
Вызывается в начале загрузки ассетов
|
||||
|
||||
## События HUD
|
||||
|
||||
События связанные с игровым интерфейсом прописываются в файле `scripts/hud.lua`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue