I Need A Way To Write A Text File Through Unity In C#, That Saves It To The Inside Of The Application On OS X(By Inside I Mean Package Contents). I Have Tried
using System;
using System.IO;
using UnityEngine;
using System.Collections;
public class WriteText : MonoBehaviour {
void Start() {
System.IO.File.WriteAllText("ScurgeOfTheShadows.app/Highscore.txt", "Hello There");
}
}
Yet It Says It Is An Invalid Directory, Maybe Im Just Not Sure How To Save To The Txt File Inside Of An App, Or Maybe System.IO Is Not What I Should Be Using. All Help Is Appreciated!