update doc/*/scripting/ecs.md

This commit is contained in:
MihailRis 2025-09-13 23:26:11 +03:00
parent bf682daffe
commit afd5eec6d0
2 changed files with 12 additions and 0 deletions

View File

@ -192,6 +192,12 @@ function on_update(tps: int)
Called every entities tick (currently 20 times per second).
```lua
function on_physics_update(delta: number)
```
Called after each physics step
```lua
function on_render(delta: number)
```

View File

@ -192,6 +192,12 @@ function on_update(tps: int)
Вызывается каждый такт сущностей (на данный момент - 20 раз в секунду).
```lua
function on_physics_update(delta: number)
```
Вызывается после каждого шага физики
```lua
function on_render(delta: number)
```