public FileContentDataFactory()
 {
     _contentDataFactory       = new ContentDataFactory();
     _filePathConverter        = new FilePathConverter();
     _imageFilePathConverter   = new ImageFilePathConverter();
     _unknownFilePathConverter = new UnknownFilePathConverter();
     _pdfPathConverter         = new PdfPathConverter();
 }
示例#2
0
        void Start()
        {
            UnityDragAndDropHook.InstallHook();
            UnityDragAndDropHook.OnDroppedFiles += OnFilesDropped;

            _notificationDisplayer = FindObjectOfType <TemporaryNotificationDisplayer>();
            _uriConverter          = new FilePathConverter();
        }