AtegonMA to Godot · 4 days agoDaily Godot Tip #22: The replace_by function can be used if you need to replace a certain node with another while keeping all children within the sceneimagemessage-square5fedilinkarrow-up168arrow-down10file-text
arrow-up168arrow-down1imageDaily Godot Tip #22: The replace_by function can be used if you need to replace a certain node with another while keeping all children within the sceneAtegonMA to Godot · 4 days agomessage-square5fedilinkfile-text
If you do this remember to free the old one (or have some way of accessing it) since the engine won’t do it for you
minus-squarethomastc | frozenfractal@mastodon.gamedev.placelinkfedilinkarrow-up1·4 days ago@Ategon The placeholders thing makes sense!
@Ategon The placeholders thing makes sense!