예제 #1
0
 public void loading()
 {
     safeClass = tempLoad;
     safeClass.Start();
     safeClass.played();
     safeClass.Load();
     allItems.LoadItems();
 }
예제 #2
0
    void Start()
    {
        safeClass = new SaveClass();
        if (File.Exists(Application.dataPath + "/SavedGame.xml"))
        {
            tempLoad = Load();
        }
        else
        {
            tempLoad = new SaveClass();
        }


        tempLoad.played();
        safeClass.Start();
    }