- Home /
Question by
EternalClickbait · Jul 14, 2020 at 02:05 AM ·
filefiles
Reference external file in inspector
I need to be able to reference a file (that is not in my assets folder) in the editor, so I can import and compile them automatically. I've tried using a public FileInfo
field, but unity won't display anything, even though it's marked as Serializable
(I assume because it only has properties, no fields). Is there any script to help me select files from the editor?
Comment
Files are not a variable, totally depends on the type of file and what you want to do with it, for example if its an imagine or a txt, we need extra information
Your answer
![](https://koobas.hobune.stream/wayback/20220613003133im_/https://answers.unity.com/themes/thub/images/avi.jpg)