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