private void InitHeader(XsollaUtils utils) { MainHeaderController controller = mainScreen.GetComponentInChildren <MainHeaderController>(); controller.InitScreen(utils); //Text[] texts = mainScreen.GetComponentsInChildren<Text> (); //texts [0].text = utils.GetProject ().name; }
// Новая инициализация /// <summary> /// Inits the header. /// </summary> /// <param name="utils">Utils.</param> private void InitHeader(XsollaUtils utils) { MainHeaderController controller = mainScreen.GetComponentInChildren <MainHeaderController>(); controller.InitScreen(utils); }