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