Beispiel #1
0
    // Start is called before the first frame update
    void Start()
    {
        string scenename = SceneManager.GetActiveScene().name;

        scenename = scenename.Substring(0, scenename.Length - 2);
        Debug.Log(scenename);
        string title = Strings.title; //title 받아오기

        dataPath  = System.IO.Path.Combine(Application.persistentDataPath, scenename + title + "aractors.json");
        wallPath  = System.IO.Path.Combine(Application.persistentDataPath, scenename + title + "wall1.json");
        floorPath = System.IO.Path.Combine(Application.persistentDataPath, scenename + title + "floor1.json");

        SaveData.ARLoad(dataPath);
        SaveData.LoadWall(wallPath);
        SaveData.LoadFloor(floorPath);
    }