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

Method instance_create

compat/fake_script.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93ScriptInstance *FakeScript::instance_create(Object *p_this) {
94 auto instance = memnew(FakeScriptInstance());
95 instance->script = Ref<FakeScript>(this);
96 instance->owner = p_this;
97 instance->is_fake_embedded = true;
98 return instance;
99}
100
101PlaceHolderScriptInstance *FakeScript::placeholder_instance_create(Object *p_this) {
102 PlaceHolderScriptInstance *si = memnew(PlaceHolderScriptInstance(/*GDScriptLanguage::get_singleton()*/ nullptr, Ref<Script>(this), p_this));

Callers

nothing calls this directly

Calls 1

FakeScriptInstanceClass · 0.85

Tested by

no test coverage detected