- Home /
Question by
NatElmentor · Jun 02, 2018 at 02:49 PM ·
textpathmodify
Catch text .txt of a path from script
Good afternoon. I want to make a game that reads you a .txt file. That's easy, I drag the .txt from assets to the script, it reads the .txt and when I change it, it changes the text in unity.All right. The problem is that when I build the program I can not find what .txt file I have to modify to change the print of the program. So my question is: 1.-Is there any way to mark the .txt bit from the script? Instead of having to drag it from assets. For example: c: /HelloWorld.txt
2.-Once the program is built where can I find the .txt file that I have dragged to assets? It must be inside one of the folders, right?
Comment
Put it in Resources folder and use Resources.Load()