void Start() { LoadManagers(); InitManagers(); if (respawnManager != null) { respawnManager.SpawnCharacter(); } uiInterface = Instantiate(uiInterface, transform); // Загружаем интерфейс UIScreen[] screens = FindObjectsOfType <UIScreen>(); if (screens != null) { foreach (UIScreen screen in screens) { if (screen.name == "Shop") { ShopManager sm = screen.GetComponentInChildren <ShopManager>(); if (sm != null) { sm.Initialize(); } else { Debug.Log("ShopManage not found!"); } } } } else { Debug.Log("Screens not found!"); } }