mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: on_hud_render is not documented
This commit is contained in:
parent
debd28ba55
commit
934c5f194e
2 changed files with 12 additions and 0 deletions
|
|
@ -190,6 +190,12 @@ function on_hud_open(playerid: int)
|
|||
|
||||
Called after world open.
|
||||
|
||||
```lua
|
||||
function on_hud_render()
|
||||
```
|
||||
|
||||
Called every frame. Used for client-side tasks such as animation and camera control.
|
||||
|
||||
```lua
|
||||
function on_hud_close(playerid: int)
|
||||
```
|
||||
|
|
|
|||
|
|
@ -190,6 +190,12 @@ function on_hud_open(playerid: int)
|
|||
|
||||
Вызывается после входа в мир, когда становится доступна библиотека hud. Здесь на экран добавляются постоянные элементы.
|
||||
|
||||
```lua
|
||||
function on_hud_render()
|
||||
```
|
||||
|
||||
Вызывается каждый кадр. Используется для клиентских задач, таких как анимация, управление камерой.
|
||||
|
||||
```lua
|
||||
function on_hud_close(playerid: int)
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue