Answer the question
In order to leave comments, you need to log in
How to remove duplicates if object is reserved by DontDestroyOnLoad?
Good day. Help solve the problem: At each level (new scene) I want to leave a pause button and a play menu. At the first level, I threw the DontDestroyOnLoad script onto the canvas. When leaving the level and returning to the level, the canvas is duplicated. How can duplicates be removed? Or is there another way to do this operation?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question