Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SiL3NC3 |
How to use an export-variables to bind it to a child property (like a albedo_color of a mesh_instance).
For example:
There is a player script attached to a root node with contains all the player meshes (and other objects as structured children.
In the player script I want to create an export_variable, with it I then can control the color of a mesh_instance for a child of the player node.
After a quick research I figured out, that the key could be “setget”, but there was no example available for C#.
I think this is easy to accomplish, but I’m having trouble to do this.
Any hints?