D
D
Daniil Cherepanov2021-08-01 23:31:52
Unity
Daniil Cherepanov, 2021-08-01 23:31:52

Unity 2d, there is an initial scene (menu) on it there is also a transition to the store scene, how to save background music when transitioning scenes?

I could not find a competent and understandable answer on how to deal with these, background music is not saved when switching to stage 2 from the main menu to the store ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PlaBetaVer, 2021-08-02
@daniil_with_you

Should not be destroyed on load. Those. use DontDestroyOnLoad
Here is an example: https://docs.unity3d.com/ScriptReference/Object.Do...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question