MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_script

Method set_script

scene/main/node.cpp:4181–4184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4179#ifdef DEBUG_ENABLED
4180
4181void Node::set_script(const Variant &p_script) {
4182 ERR_THREAD_GUARD;
4183 Object::set_script(p_script);
4184}
4185
4186Variant Node::get_script() const {
4187 ERR_THREAD_GUARD_V(Variant());

Callers 15

instantiateMethod · 0.45
reload_assembliesMethod · 0.45
run_testsMethod · 0.45
reload_scriptsMethod · 0.45
test_directoryFunction · 0.45
init_autoloadsFunction · 0.45
execute_test_codeMethod · 0.45
main.cppFile · 0.45
run_editor_scriptMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_directoryFunction · 0.36
init_autoloadsFunction · 0.36
execute_test_codeMethod · 0.36