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

Method set_source_code

modules/mono/csharp_script.cpp:2501–2509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2499}
2500
2501void CSharpScript::set_source_code(const String &p_code) {
2502 if (source == p_code) {
2503 return;
2504 }
2505 source = p_code;
2506#ifdef TOOLS_ENABLED
2507 source_changed_cache = true;
2508#endif
2509}
2510
2511void CSharpScript::get_script_method_list(List<MethodInfo> *p_list) const {
2512 if (!valid) {

Callers 1

make_templateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected