I am currently trying to automate an update to my child label to be runned in the editor, however it always returns to it's default value after I click on another node, I'ma show as it's easier than explaining:
The node structure of the scene is
Node2D -> Box
Node2D -> Box1
BOX, Node2D code:
export(String) var ItemID = "NOONE" setget UpdateMyLabel
I duplicate the Box a fewer times, select the first and type in the exported var, it works, the label get's renamed, however when I select another box, the ItemID on the previous node get's reset to "NOONE", but the label doesn't update, and if I print it really changed to the default value: NOONE. Why is that?
There's not anything more running in the background, I recreated this with a clean scene.