예제 #1
0
        public virtual void Show(PopupView rootView)
        {
            _rootView = rootView;
            if (CloseButton != null)
            {
                CloseButton.OnClickAsObservable().Subscribe(r =>
                {
                    _rootView.Close(this);
                });
            }

            if (CreateServerBtn != null)
            {
                CreateServerBtn.OnClickAsObservable().Subscribe(s =>
                {
                });
            }

            if (JoinServerBtn != null)
            {
            }
        }
예제 #2
0
 public override void Show(PopupView rootView)
 {
     base.Show(rootView);
     _roomName.text = AppContext.Get <GameState>().SelectedRoom;
 }