Example #1
0
    public void Start()
    {
        dir = Application.dataPath + @"\" + fileName + ".txt";

        if (File.Exists(dir))
        {
            pointManager.GetComponent <PointManager>().boot(Importing.readFile(dir)[0]);
            gameObject.SetActive(false);
        }
    }
Example #2
0
 public void setURL(string URL)
 {
     File.WriteAllText(dir, URL);
     pointManager.GetComponent <PointManager>().boot(Importing.readFile(dir)[0]);
     gameObject.SetActive(false);
 }