MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / instance_create

Method instance_create

compat/fake_csharp_script.cpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90ScriptInstance *FakeCSharpScript::instance_create(Object *p_this) {
91 auto instance = memnew(FakeScriptInstance());
92 instance->script = Ref<FakeCSharpScript>(this);
93 instance->owner = p_this;
94 instance->update_cached_prop_names();
95 return instance;
96}
97
98PlaceHolderScriptInstance *FakeCSharpScript::placeholder_instance_create(Object *p_this) {
99 PlaceHolderScriptInstance *si = memnew(PlaceHolderScriptInstance(/*CSharpLanguage::get_singleton()*/ nullptr, Ref<Script>(this), p_this));

Callers

nothing calls this directly

Calls 2

FakeScriptInstanceClass · 0.85

Tested by

no test coverage detected