Exemplo n.º 1
0
 private void Awake()
 {
     detailsWindow          = FindObjectOfType <DetailsWindow>();
     windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();
     detailsSettingsRuntime = FindObjectOfType <DetailsSettingsRuntime>();
     managerData            = FindObjectOfType <ManagerData>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     searchWindow           = FindObjectOfType <SearchWindow>();
     searchSettingsRuntime  = FindObjectOfType <SearchSettingsRuntime>();
     windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();
     welcomeScreen          = FindObjectOfType <WelcomeScreen>();
 }
Exemplo n.º 3
0
        private void Awake()
        {
            _windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();

            _detailsWindow = FindObjectOfType <DetailsWindow>();
            _searchWindow  = FindObjectOfType <SearchWindow>();

            _loadingScreen = FindObjectOfType <LoadingScreen>();
            _errorScreen   = FindObjectOfType <ErrorScreen>();
            _photosScreen  = FindObjectOfType <PhotosScreen>();
            _welcomeScreen = FindObjectOfType <WelcomeScreen>();
        }
Exemplo n.º 4
0
        private void Awake()
        {
            transitionScreen       = FindObjectOfType <TransitionScreen>();
            windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();

            var instances = FindObjectsOfType <EnableWindowComponent>()
                            .Where(c => c.GetComponent <RectTransform>() != null)
                            .ToList().Select(c => c.gameObject);

            foreach (var instance in instances)
            {
                entities.Add(new Archetype(instance));
            }

            foreach (var entity in entities)
            {
                entity.EnableComponent.ShowRequest.AddListener(() => ShowWindowRequestAction(entity));
                entity.EnableComponent.HideRequest.AddListener(() => HideWindowRequestAction(entity));
            }
        }
Exemplo n.º 5
0
 private void Awake()
 {
     windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();
     managerWindows         = FindObjectOfType <ManagerWindows>();
 }
Exemplo n.º 6
0
 private void Awake()
 {
     _windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();
     _detailsSettingsRuntime = FindObjectOfType <DetailsSettingsRuntime>();
     _managerData            = FindObjectOfType <ManagerData>();
 }
 private void Awake()
 {
     _UI = FindObjectOfType <UI>();
     windowsSettingsRuntime = FindObjectOfType <WindowsSettingsRuntime>();
 }
 private void Awake()
 {
     _photosScreenSettingsRuntime = FindObjectOfType <PhotosScreenSettingsRuntime>();
     detailsSettingsRuntime       = FindObjectOfType <DetailsSettingsRuntime>();
     windowsSettingsRuntime       = FindObjectOfType <WindowsSettingsRuntime>();
 }