protected override void OnAwake(PlayerActor player) { MapUIContainer.SetActiveRefrigeratorUI(true); Singleton <Input> .Instance.ReserveState(Input.ValidType.UI); Singleton <Input> .Instance.SetupState(); player.SetScheduledInteractionState(false); player.ReleaseInteraction(); MapUIContainer.SetCommandLabelAcception(CommandLabel.AcceptionState.None); ActorAnimInfo animInfo = player.Animation.AnimInfo; animInfo.outEnableBlend = true; animInfo.outBlendSec = 0.0f; player.Animation.AnimInfo = animInfo; ObservableExtensions.Subscribe <Unit>(Observable.Take <Unit>((IObservable <M0>) this._onEndMenu, 1), (Action <M0>)(_ => player.Controller.ChangeState("Kitchen"))); }