MCPcopy Create free account
hub / github.com/Siv3D/OpenSiv3D / Script

Method Script

Siv3D/src/Siv3D/Script/SivScript.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 Script::Script()
54 {
55 SIV3D_ENGINE(Script)->init();
56 }
57
58 Script::Script(const FilePathView path, const ScriptCompileOption compileOption)
59 : AssetHandle{ (detail::CheckEngine(), std::make_shared<AssetIDWrapperType>(SIV3D_ENGINE(Script)->createFromFile(path, compileOption))) }

Callers

nothing calls this directly

Calls 5

createdMethod · 0.80
CheckEngineFunction · 0.70
initMethod · 0.45
createFromFileMethod · 0.45
createFromCodeMethod · 0.45

Tested by

no test coverage detected