Ok... i'm a total novice in the big world of programming.
Said that... i'm having problem with saving\loading one array.
For now i have altready found a way to save a .txt file with the content of the ArrayA.
The result would be a string like this "0,1,2,3,4"
But i can't find a way to use that .txt file for setting the ArrayB using that file. i'm totally sure i'm missing something dumb.
However, if someone else know an alternative method i'm very open try to other ways(as long as i can understand them).
EDIT1:
This is the code i have used for creating the savefile.
{
FileUtil.DeleteFileOrDirectory(Application.streamingAssetsPath + "/Ordini/" +
"Ordine" + ".txt");
string txtDocumentname = Application.streamingAssetsPath + "/Ordini/" +
"Ordine" + ".txt";
for (int i = 0; i < 500; i++)
{
OrdineArray += ArrayMenù.Array[i] + " ;";
}
if (!File.Exists(txtDocumentname))
{
File.WriteAllText(txtDocumentname, OrdineArray);
}
}