HxGodot / hxgodot

A Haxe GDExtension for Godot 4
MIT License
232 stars 12 forks source link

Add support for properties #2

Closed dazKind closed 2 years ago

dazKind commented 2 years ago

Add a macro implementation here to build and register properties via @:property-metadata here: https://github.com/dazKind/hxgodot-cpp/blob/main/src/godot/macros/Macros.hx#L351

Bonus: use metadata to specify a Property (Sub-)group and default value. Rough idea: image

See

dazKind commented 2 years ago

https://twitter.com/dazKind/status/1570083668726611968