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

Method set

modules/mono/csharp_script.cpp:1498–1503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1496}
1497
1498bool CSharpInstance::set(const StringName &p_name, const Variant &p_value) {
1499 ERR_FAIL_COND_V(script.is_null(), false);
1500
1501 return GDMonoCache::managed_callbacks.CSharpInstanceBridge_Set(
1502 gchandle.get_intptr(), &p_name, &p_value);
1503}
1504
1505bool CSharpInstance::get(const StringName &p_name, Variant &r_ret) const {
1506 ERR_FAIL_COND_V(script.is_null(), false);

Callers 3

tool_scene_actionMethod · 0.45
tool_resource_actionMethod · 0.45

Calls 2

get_intptrMethod · 0.80
is_nullMethod · 0.45

Tested by

no test coverage detected