migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
1.07k stars 70 forks source link

Example in README needs .tool annotation #369

Closed cplr closed 4 months ago

cplr commented 7 months ago

Since the new feature to declare a GDExtension as a "tool" in https://github.com/migueldeicaza/SwiftGodot/pull/351, the spinning cube example on the main README needs this annotation. Otherwise, the cube is not added until you run the scene (in which case you need to add a camera pointed at the new mesh). It is not seen in the editor.

migueldeicaza commented 4 months ago

Thank you for spotting this!