protected virtual void Start()
 {
     _notificationDisplayer  = FindObjectOfType <TemporaryNotificationDisplayer>();
     _loadingOverlay         = FindObjectOfType <LoadingOverlay>();
     _linkPreviewLoader      = LinkPreviewLoader.New();
     _metaDataFactory        = new MetaDataFactory();
     _imageFilePathConverter = new ImageFilePathConverter();
     _button.onClick.AddListener(onClick);
 }
Пример #2
0
 private void createLoaders()
 {
     _linkPreviewLoader = LinkPreviewLoader.New();
     _remoteImageLoader = ImageLoader.New();
 }