migueldeicaza / SwiftGodot

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

`@Export var nodes: ObjectCollection<Node> = []` property does not appear in Documentation for type #409

Open EstevanBR opened 6 months ago

EstevanBR commented 6 months ago
import SwiftGodot

@Godot package class MyResource: Resource {
    @Export var name: String?
}

@Godot package class MyLevel: Node3D {
    @Export var myResources: VariantCollection<MyResource> = []
}

I can see the setter and getter, but not the property itself.

image

But I can still access the property in gdscript via my_resources

migueldeicaza commented 5 months ago

If you can put together a small self-contained test case, I can debug Godot and see where this is being assembled.