Ategon@programming.devM to Godot@programming.dev · 2 years 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 sceneprogramming.devexternal-linkmessage-square1linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkDaily 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 sceneprogramming.devAtegon@programming.devM to Godot@programming.dev · 2 years agomessage-square1linkfedilinkfile-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-squaremaria [she/her]@lemmy.blahaj.zonelinkfedilinkarrow-up1·1 year agothis seems like it’s only really useful for making editor plugins… which i am! So that would ds interesting!
this seems like it’s only really useful for making editor plugins… which i am! So that would ds interesting!