protected override void DidActivate(bool firstActivation, bool addedToHierarchy, bool screenSystemEnabling)
        {
            if (addedToHierarchy)
            {
                _didAttemptConnectionYet = false;

                _ongoingGameList = BeatSaberUI.CreateViewController <OngoingGameList>();
            }
        }
Exemple #2
0
        protected override void DidActivate(bool firstActivation, ActivationType activationType)
        {
            if (activationType == ActivationType.AddedToHierarchy)
            {
                _ongoingGameList = BeatSaberUI.CreateViewController <OngoingGameList>();

                PlayerUtils.GetPlatformUserData(OnUserDataResolved);
            }
        }
        protected override void DidActivate(bool firstActivation, bool addedToHierarchy, bool screenSystemEnabling)
        {
            if (addedToHierarchy)
            {
                _didAttemptConnectionYet = false;

                _ongoingGameList             = BeatSaberUI.CreateViewController <OngoingGameList>();
                _gameplaySetupViewController = Resources.FindObjectsOfTypeAll <GameplaySetupViewController>().First();
            }
        }