SceneNodeExampleCode: Difference between revisions

From Crumbled World Wiki
(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>")
 
(No difference)

Latest revision as of 13:04, 5 July 2025

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)