1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

C#: Abstract script class support

This commit is contained in:
398utubzyt
2023-05-23 09:25:34 -07:00
parent 3ed4497113
commit 2df37a237a
16 changed files with 73 additions and 20 deletions

View File

@@ -110,6 +110,12 @@ public:
EXBIND0RC(bool, is_tool)
EXBIND0RC(bool, is_valid)
virtual bool is_abstract() const override {
bool abst;
return GDVIRTUAL_CALL(_is_abstract, abst) && abst;
}
GDVIRTUAL0RC(bool, _is_abstract)
EXBIND0RC(ScriptLanguage *, get_language)
EXBIND1RC(bool, has_script_signal, const StringName &)