public TestARSupportProvider() { AddDisposable(m_ARIsReady = m_ARIsCheckedAndSupported .And(m_IsInstalling.Not()) .And(m_NeedARInstall.Not()) .ToReadOnlyReactiveProperty()); AddDisposable(MainThreadDispatcher.UpdateAsObservable() .Where(_ => Input.GetKeyDown(KeyCode.Q)) .Subscribe(_ => m_ARIsCheckedAndSupported.Value = true)); }