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

Provide quick access to Object ancestry

This commit is contained in:
lawnjelly
2025-06-22 23:08:23 +01:00
parent d7bdc0be16
commit 14a814586a
18 changed files with 86 additions and 9 deletions

View File

@@ -197,7 +197,9 @@ public:
virtual const Variant get_rpc_config() const = 0;
Script() {}
Script() {
_define_ancestry(AncestralClass::SCRIPT);
}
};
class ScriptLanguage : public Object {