public void ChangeProcess(eGameProcess process) { context.PreGameProcess = context.GameProcess; context.GameProcess = process; //GameSetting.Start(); AsyncOperation sceneOperation = sceneSystem.ChangeState(eScene.Login); sceneOperation.completed += onSceneLoadDone; switch (process) { case eGameProcess.Login: uiController.OpenUI((int)eUIImplement.Login); loginAdapter.OnLoginAck += onLoginAck; break; } }