protected override void OnAwake(PlayerActor player) { MapUIContainer.SetActiveCharaMigrationUI(true); Singleton <Input> .Instance.ReserveState(Input.ValidType.UI); Singleton <Input> .Instance.SetupState(); player.SetScheduledInteractionState(false); player.ReleaseInteraction(); MapUIContainer.SetCommandLabelAcception(CommandLabel.AcceptionState.None); this._agentCharaFiles.Clear(); this._agentCharaMapIDs.Clear(); foreach (KeyValuePair <int, AgentData> keyValuePair in Singleton <Game> .Instance.WorldData.AgentTable) { this._agentCharaFiles[keyValuePair.Key] = keyValuePair.Value.CharaFileName; this._agentCharaMapIDs[keyValuePair.Key] = keyValuePair.Value.MapID; } ObservableExtensions.Subscribe <Unit>(Observable.Take <Unit>((IObservable <M0>) this._onEndMenu, 1), (Action <M0>)(_ => { if (this.CheckChange(player)) { return; } player.Controller.ChangeState("DeviceMenu"); })); }