Getting Data After Build

Hi,

My program uses 4 serial ports. And i want to declare the port numbers from a txt or ini file.
I know about Resources.Load, but i need to be able to change the numbers with opening the txt file.

Is there any way to load the txt file from a custom path?

Probably the easiest way to do this would be to read the text from the file normally:

var text = File.ReadAllText("C:/Path/To/Your/TextFile.txt");

If that’s not compiling, you’ll also need to add the following using statement to your file:

using System.IO;