private void Awake()
 {
     CreateTextObjects(Background);
     _score       = ControlSLA?.GetComponent <ScoreSLA>();
     _menuManager = transform.parent.GetComponent <MenuManager>();
 }
Example #2
0
 private void Awake()
 {
     _initializeGame = _controlSLA?.GetComponent <InitializeGameSLA>();
     _levelManager   = _controlSLA?.GetComponent <LevelManagerSLA>();
     _menuManager    = transform.parent.GetComponent <MenuManager>();
 }