Files
WickedEngine/Content/scripts/subscript_demo/load_model.lua
T
2022-09-30 16:25:45 +02:00

9 lines
300 B
Lua

-- This script shows how content can be accessed relative to the current script directory
-- This will work when calling scripts from scripts
backlog_post("---> START SCRIPT: load_model.lua")
LoadModel(script_dir() .. "../../models/teapot.wiscene")
backlog_post("---> END SCRIPT: load_model.lua")