示例#1
0
 private void OnUnloadSceneSuccess(object sender, GameFramework.Scene.UnloadSceneSuccessEventArgs e)
 {
     if (m_EnableUnloadSceneSuccessEvent)
     {
         m_EventComponent.Fire(this, ReferencePool.Acquire <UnloadSceneSuccessEventArgs>().Fill(e));
     }
 }
示例#2
0
 private void OnUnloadSceneSuccess(object sender, GameFramework.Scene.UnloadSceneSuccessEventArgs e)
 {
     if (m_EnableUnloadSceneSuccessEvent)
     {
         m_EventComponent.Fire(this, new UnloadSceneSuccessEventArgs(e));
     }
 }
示例#3
0
 private void UnloadSceneSuccessCallback(string sceneAssetName, object userData)
 {
     m_UnloadingSceneAssetNames.Remove(sceneAssetName);
     m_LoadedSceneAssetNames.Remove(sceneAssetName);
     if (m_UnloadSceneSuccessEventHandler != null)
     {
         UnloadSceneSuccessEventArgs unloadSceneSuccessEventArgs = UnloadSceneSuccessEventArgs.Create(sceneAssetName, userData);
         m_UnloadSceneSuccessEventHandler(this, unloadSceneSuccessEventArgs);
         ReferencePool.Release(unloadSceneSuccessEventArgs);
     }
 }
示例#4
0
 private void OnUnloadSceneSuccess(object sender, GameFramework.Scene.UnloadSceneSuccessEventArgs e)
 {
     RefreshAudioListener();
 }
示例#5
0
 private void OnUnloadSceneSuccess(object sender, GameFramework.Scene.UnloadSceneSuccessEventArgs e)
 {
     m_EventComponent.Fire(this, UnloadSceneSuccessEventArgs.Create(e));
     m_SceneOrder.Remove(e.SceneAssetName);
     RefreshSceneOrder();
 }
示例#6
0
 private void OnUnloadSceneSuccess(object sender, GameFramework.Scene.UnloadSceneSuccessEventArgs e)
 {
     m_MainCamera = Camera.main;
     m_EventComponent.Fire(this, UnloadSceneSuccessEventArgs.Create(e));
 }
 private void OnUnloadSceneSuccess(object sender, GameFramework.Scene.UnloadSceneSuccessEventArgs e)
 {
     m_MainCamera = Camera.main;
     m_EventComponent.Fire(this, ReferencePool.Acquire <UnloadSceneSuccessEventArgs>().Fill(e));
 }