SceneNodeExampleCode

From Crumbled World Wiki
Revision as of 13:04, 5 July 2025 by Anders (talk | contribs) (Created page with "==Example Code== <syntaxhighlight lang="lua"> function done() --Do stuff here end --Run exportScript.lua in a background thread. local worker = Worker("MapEditor/exportScript.lua",false) worker:addCallbackFinished(done) </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Example Code

function done()
	--Do stuff here
end

--Run exportScript.lua in a background thread.
local worker = Worker("MapEditor/exportScript.lua",false)
worker:addCallbackFinished(done)