void Start () {
playerPositions.Add(this.transform.position);
if (File.Exists(fileName))
{
//Debug.Log(fileName + " already exists.");
//fileExists = true;
return;
}
sr = File.CreateText (fileName);
}
It had worked in the past but I’m not sure why it won’t work now.