mirror of
https://github.com/Ukendio/jecs.git
synced 2025-11-14 15:32:53 +00:00
Merge d89c50ce5e into 57e653fa78
This commit is contained in:
commit
7acaac5b39
2 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ export default defineConfig({
|
|||
{ text: "jecs", link: "/api/jecs" },
|
||||
{ text: "World", link: "/api/world" },
|
||||
{ text: "Query", link: "/api/query" },
|
||||
{ text: "Observers", link: "/api/observers" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ The observers addon is included with jecs and can be imported directly:
|
|||
|
||||
```luau
|
||||
local jecs = require(path/to/jecs)
|
||||
local observers_add = require(path/to/jecs/addons/observers)
|
||||
local observers_add = require(path/to/jecs/addons/ob)
|
||||
|
||||
local world = observers_add(jecs.world())
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue