Exemplo n.º 1
0
    void Start()
    {
#if UNITY_ANDROID && !UNITY_EDITOR
        StartCoroutine(LoadPoolAsset(OnPoolAssetLoadedAtAndroidPlatform));
#endif
        HOAudioManager.PlayBGM(m_bgmName);
    }
Exemplo n.º 2
0
 void Awake()
 {
     if (m_BGMKey == default(int))
     {
         HOAudioManager.StopBGM(true);
     }
     else
     {
         HOAudioManager.PlayBGM(m_BGMKey, true);
     }
 }