• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
S
S
Sasha Fedorov2021-12-19 23:42:34
Unity
Sasha Fedorov, 2021-12-19 23:42:34

How to transfer only music to other scenes?

This code passes all objects in the scene:

void Awake()
    {
        DontDestroyOnLoad(m_MyAudioSource.transform.root);
    }

61bf9a5316214546913125.jpeg
61bf9abcb8984564515879.jpeg

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
D
Dmitry Korolev2018-02-10 20:32:10
Why is the OnTriggerExit event happening? 1Reply
S
Spartanec332021-06-16 17:06:00
I can't create Sprite Atlas in Unity, what should I do? 1Reply
E
Egorian2018-02-13 11:17:12
How did changing the transform of an object not change the location of the children relative to the object? 0Reply
Z
Zefirot2021-06-17 15:13:58
How to warp a rectangular image in the game editor? 0Reply
Y
yaroslav56192021-06-18 19:10:42
What is the error in my code? 2Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners