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

Merge pull request #81101 from 398utubzyt/dotnet/abstract-class-support

C#: Add abstract class support
This commit is contained in:
Rémi Verschelde
2023-09-25 17:18:05 +02:00
16 changed files with 73 additions and 20 deletions

View File

@@ -63,6 +63,7 @@ class CSharpScript : public Script {
bool tool = false;
bool global_class = false;
bool abstract_class = false;
bool valid = false;
bool reload_invalidated = false;
@@ -188,6 +189,9 @@ public:
bool is_valid() const override {
return valid;
}
bool is_abstract() const override {
return abstract_class;
}
bool inherits_script(const Ref<Script> &p_script) const override;