How to Make Unique (Recursive) from a script

Godot Version

Godot 4

Question

In the editor I can make unique and also make unique recursive. How to do make unique recursive from a script in gdscript?

Please read question fully before responding

1 Like

I think Resource.duplicate with subresources as true does what you need

1 Like

Sorry mate, I delete my off topic post, my mistake

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.