feat: added GDNODETYPE macro
parent
16b5de038d
commit
acb193b45f
|
@ -74,6 +74,7 @@
|
||||||
* Use when registering properties of arrays of resource classes.
|
* Use when registering properties of arrays of resource classes.
|
||||||
*/
|
*/
|
||||||
#define GDRESOURCETYPE(Class_) godot::vformat("%s/%s:%s", godot::Variant::OBJECT, godot::PROPERTY_HINT_RESOURCE_TYPE, Class_)
|
#define GDRESOURCETYPE(Class_) godot::vformat("%s/%s:%s", godot::Variant::OBJECT, godot::PROPERTY_HINT_RESOURCE_TYPE, Class_)
|
||||||
|
#define GDNODETYPE(Class_) godot::vformat("%s/%s:%s", godot::Variant::OBJECT, godot::PROPERTY_HINT_NODE_TYPE, Class_)
|
||||||
#define GDENUMTYPE(EnumString_) godot::vformat("%s/%s:%s", godot::Variant::INT, godot::PROPERTY_HINT_ENUM, EnumString_)
|
#define GDENUMTYPE(EnumString_) godot::vformat("%s/%s:%s", godot::Variant::INT, godot::PROPERTY_HINT_ENUM, EnumString_)
|
||||||
|
|
||||||
/*! \def GDEDITORONLY()
|
/*! \def GDEDITORONLY()
|
||||||
|
|
Loading…
Reference in New Issue