Ejemplo n.º 1
0
 private void OnLoadSceneUpdate(object sender, GameFramework.Scene.LoadSceneUpdateEventArgs e)
 {
     if (m_EnableLoadSceneUpdateEvent)
     {
         m_EventComponent.Fire(this, ReferencePool.Acquire <LoadSceneUpdateEventArgs>().Fill(e));
     }
 }
Ejemplo n.º 2
0
 private void OnLoadSceneUpdate(object sender, GameFramework.Scene.LoadSceneUpdateEventArgs e)
 {
     if (m_EnableLoadSceneUpdateEvent)
     {
         m_EventComponent.Fire(this, new LoadSceneUpdateEventArgs(e));
     }
 }
Ejemplo n.º 3
0
 private void LoadSceneUpdateCallback(string sceneAssetName, float progress, object userData)
 {
     if (m_LoadSceneUpdateEventHandler != null)
     {
         LoadSceneUpdateEventArgs loadSceneUpdateEventArgs = LoadSceneUpdateEventArgs.Create(sceneAssetName, progress, userData);
         m_LoadSceneUpdateEventHandler(this, loadSceneUpdateEventArgs);
         ReferencePool.Release(loadSceneUpdateEventArgs);
     }
 }
Ejemplo n.º 4
0
 private void OnLoadSceneUpdate(object sender, GameFramework.Scene.LoadSceneUpdateEventArgs e)
 {
     m_EventComponent.Fire(this, LoadSceneUpdateEventArgs.Create(e));
 }