Beispiel #1
0
 private void OnLoadSceneFailure(object sender, Ash.Core.Scene.LoadSceneFailureEventArgs e)
 {
     Log.Warning("Load scene failure, scene asset name '{0}', error message '{1}'.", e.SceneAssetName, e.ErrorMessage);
     if (m_EnableLoadSceneFailureEvent)
     {
         m_EventComponent.Fire(this, ReferencePool.Acquire <LoadSceneFailureEventArgs>().Fill(e));
     }
 }
Beispiel #2
0
 private void OnLoadSceneFailure(object sender, Ash.Core.Scene.LoadSceneFailureEventArgs e)
 {
     RefreshAudioListener();
 }