private void Start() { backButton .OnClickAsObservable() .Subscribe(_ => sceneManager.Back()) .AddTo(this); }
private void Start() { nextButton .OnClickAsObservable() .Subscribe(_ => sceneManager.Next(Scene.Live)) .AddTo(this); backButton .OnClickAsObservable() .Subscribe(_ => sceneManager.Back()) .AddTo(this); }