mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #104844 from Ivorforce/gdsoftclass
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