Example #1
0
        private void Awake()
        {
            _mainMenuManager = transform.parent.GetComponent <MainMenuManager>();
            _slaMenu         = _mainMenuManager.SLAMenu;
            _rlrMenu         = _mainMenuManager.RLRMenu;

            RoomManager.onSuccessfulLeaveRoom += OnLeaveRoom;
        }
Example #2
0
 private void Awake()
 {
     _mainMenuManager = transform.parent.GetComponent <MainMenuManager>();
     _highScoreMenu   = _mainMenuManager.HighScoreMenuSLA;
     _sceneLoader     = _mainMenuManager.SceneLoader;
 }
Example #3
0
 private void Awake()
 {
     _mainMenuManager = transform.parent.GetComponent <MainMenuManager>();
     _soloMenu        = _mainMenuManager.SoloMenu;
     _multiplayerMenu = _mainMenuManager.MultiplayerMenu;
 }