You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Dylan Dumesnil edited this page Jun 30, 2020
·
1 revision
Node-type fields and properties on Node classes can be marked with the [MDBindNode] attribute.
The MD framework will automatically assign a child node with the same name to that member.
You can specify the path to look for or specify a different name to look for by passing it the attribute:
[MDBindNode("/root/MyNode")] or [MDBindNode("MyChildNode")], this will pass the path to Godot's Node.GetNodeOrNull() method.
See the Automatic Registration section for information on how these are populated and how you can configure that.