From d272464e6e6d2c0ecf26c12bc33f8afb6ede7b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Mon, 2 Aug 2021 14:34:43 +0200 Subject: [PATCH] Implement inherits_script() for NativeScript and PluginScript (cherry picked from commit 2dcd064056cd7905ef1559e9f35aa223a583d225) --- .../gdnative/nativescript/nativescript.cpp | 20 ++++++++++++++++++- .../pluginscript/pluginscript_script.cpp | 15 +++++++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index 5e53a54e8b5..c74200da978 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -112,7 +112,25 @@ void NativeScript::_placeholder_erased(PlaceHolderScriptInstance *p_placeholder) #endif bool NativeScript::inherits_script(const Ref