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