#why not make every child node 'accessed as unique name' ? (like %NodeName)

2 messages · Page 1 of 1 (latest)

patent void
#

Say that you have 2 Area2D in your scene, and they both logically need a CollisionShape2D. How would you differentiate the two shape nodes?
It would require all nodes and subnodes to have unique names, which doesn't sounds great to me

patent void
#

It would quickly becomes a giant headache when you'd have a scene with upward of 50+ nodes, which is easily achieved when making complex menus and user interfaces. It's much better to assign unique names to only the nodes you want to access in code.