public void Start() { dir = Application.dataPath + @"\" + fileName + ".txt"; if (File.Exists(dir)) { pointManager.GetComponent <PointManager>().boot(Importing.readFile(dir)[0]); gameObject.SetActive(false); } }
public void setURL(string URL) { File.WriteAllText(dir, URL); pointManager.GetComponent <PointManager>().boot(Importing.readFile(dir)[0]); gameObject.SetActive(false); }