mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS.
This commit is contained in:
@@ -55,6 +55,8 @@ public:
|
||||
};
|
||||
|
||||
class ObjectSubclass : public Object {
|
||||
GDSOFTCLASS(ObjectSubclass, Object);
|
||||
|
||||
public:
|
||||
int value = 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user