1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +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

@@ -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;