| 88 | } |
| 89 | |
| 90 | ScriptInstance *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 | |
| 98 | PlaceHolderScriptInstance *FakeCSharpScript::placeholder_instance_create(Object *p_this) { |
| 99 | PlaceHolderScriptInstance *si = memnew(PlaceHolderScriptInstance(/*CSharpLanguage::get_singleton()*/ nullptr, Ref<Script>(this), p_this)); |
nothing calls this directly
no test coverage detected