jecs/demo/src/StarterPlayer/StarterPlayerScripts/main.client.luau
Marcus a73eeb1a4f
Demo (#96)
* Fix query types

* Add systems to demo

* Remove comments of inlined versions

* Fix style

* Replication

* Test :iter
2024-08-07 18:45:56 +02:00

6 lines
308 B
Text

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local std = require(ReplicatedStorage.std)
print(script.Parent:WaitForChild("systems"):GetChildren())
local loop = std.Scheduler(unpack(script.Parent:WaitForChild("systems"):GetChildren()))
game:GetService("RunService").Heartbeat:Connect(loop)