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) { } }
public override void Show(PopupView rootView) { base.Show(rootView); _roomName.text = AppContext.Get <GameState>().SelectedRoom; }