Editable children should be a flag on the node and not scene implemented #12020
sancho2
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my 2D top down game I have created a door scene that is to be instanced often.
There are selectable door types and some differences between them such as collision shapes. They all behave the same and share the same script handling opening and unlocking etc.
Each time I instance a door that is different to the default values I have to change it to editable children so I can modify these settings.
It occurs to me that the editable-ness of a nodes children is going to be already determined by the design of the node. The node should have the flag "editable children" and then all instances of the node carry that.
The workaround can be to make the door a tool and exporting all the settings but this requires more work (and always great care when making a tool) (and it really isn't a tool).
Beta Was this translation helpful? Give feedback.
All reactions