Ejemplo n.º 1
0
 protected virtual void Awake()
 {
     _loadingErrorMessage   = _defaultLoadingErrorMessage;
     _errorDisplayTime      = _defaultErrorDisplayTime;
     _imageLoader           = ImageLoader.New();
     _notificationDisplayer = FindObjectOfType <TemporaryNotificationDisplayer>();
     updateView();
 }
Ejemplo n.º 2
0
        void Start()
        {
            UnityDragAndDropHook.InstallHook();
            UnityDragAndDropHook.OnDroppedFiles += OnFilesDropped;

            _notificationDisplayer = FindObjectOfType <TemporaryNotificationDisplayer>();
            _uriConverter          = new FilePathConverter();
        }
 protected virtual void Start()
 {
     _notificationDisplayer  = FindObjectOfType <TemporaryNotificationDisplayer>();
     _loadingOverlay         = FindObjectOfType <LoadingOverlay>();
     _linkPreviewLoader      = LinkPreviewLoader.New();
     _metaDataFactory        = new MetaDataFactory();
     _imageFilePathConverter = new ImageFilePathConverter();
     _button.onClick.AddListener(onClick);
 }
 protected virtual void Start()
 {
     _fileManager                 = new FileManager();
     _contentDataFactory          = new FileContentDataFactory();
     _entryCreator                = FindObjectOfType <EntryCreator>();
     _notificationDisplayer       = FindObjectOfType <TemporaryNotificationDisplayer>();
     _dropReceiver.OnFileDropped += onFileDropped;
     //Uncomment for testing the file dropping
     //onFileDropped(new Uri(@"W:\Studium\WissenschaftlichesProjekt\Entwicklung\Knowdes_Merkmale201201.pdf"), Vector2.zero);
     //onFileDropped(new Uri(@"W:\Studium\UserExperience\6_UX-Entwicklungsprozess\Schön 2016-Kanban.pdf"), Vector2.zero);
 }
Ejemplo n.º 5
0
 protected virtual void Start()
 {
     _button.onClick.AddListener(onClick);
     _notificationDisplayer = FindObjectOfType <TemporaryNotificationDisplayer>();
 }