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

Method _node_set_res_func

scene/debugger/scene_debugger.cpp:1081–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1079}
1080
1081void LiveEditor::_node_set_res_func(int p_id, const StringName &p_prop, const String &p_value) {
1082 Ref<Resource> r = ResourceLoader::load(p_value);
1083 if (r.is_null()) {
1084 return;
1085 }
1086 _node_set_func(p_id, p_prop, r);
1087}
1088
1089void LiveEditor::_node_call_func(int p_id, const StringName &p_method, const Variant **p_args, int p_argcount) {
1090 SceneTree *scene_tree = SceneTree::get_singleton();

Callers 1

Calls 1

is_nullMethod · 0.45

Tested by

no test coverage detected