// Defer the configuration creation until Awake so the web Client ID // Can be set via the property inspector in the Editor. void Awake() { sceneManager = VRSceneManager.Instance; listenerIdx = BackendService.Instance.RegisterListener(this); signInButton.GetComponent <Button>().onClick.AddListener(OnSignIn); startGameButton.GetComponent <Button>().onClick.AddListener(OnStartGame); }
// Use this for initialization public void Start() { instance = this; }