Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4181
void Node::set_script(const Variant &p_script) {
4182
ERR_THREAD_GUARD;
4183
Object::set_script(p_script);
4184
}
4185
4186
Variant Node::get_script() const {
4187
ERR_THREAD_GUARD_V(Variant());
Callers
15
instantiate
Method · 0.45
reload_assemblies
Method · 0.45
run_tests
Method · 0.45
reload_scripts
Method · 0.45
gdscript_test_runner_suite.h
File · 0.45
test_directory
Function · 0.45
init_autoloads
Function · 0.45
execute_test_code
Method · 0.45
main.cpp
File · 0.45
set_addon_plugin_enabled
Method · 0.45
update_node_from_node_modification_entry
Method · 0.45
run_editor_script
Method · 0.45
Calls
no outgoing calls
Tested by
3
test_directory
Function · 0.36
init_autoloads
Function · 0.36
execute_test_code
Method · 0.36