private void OnLoadSceneUpdate(GameEventBase gameEventBase) { LoadSceneUpdateGameEvent ne = (LoadSceneUpdateGameEvent)gameEventBase; if (ne.UserData != this) { return; } Log.Info("Load scene '{0}' update, progress '{1}'.", ne.SceneAssetName, ne.Progress.ToString("P2")); }
private void OnLoadSceneUpdate(GameEventBase gameEventBase) { LoadSceneUpdateGameEvent ne = (LoadSceneUpdateGameEvent)gameEventBase; m_ProgressValue = ne.Progress; }