DontDestroyOnLoad script

Hi all,

I know how DontDestroyOnLoad works… but I have a problem in my first scene is my button standing still, in my second scene its moving. So the issue is that the button must be destroyed but the script not, and in the third scene has to been everything removed!
Does Somebody know this?

Thanks Sam

hmm don’t think this is possible, you can only transfer a whole object from one scene to another, you can’t even copy components in the same scene.

Although I’m not sure if I get your problem correctly.

All right, Ill gonna try it another way!

Thanks for helping!