示例#1
0
 public void Awake()
 {
     savingManagerScript = savingManager.GetComponent <SavingManager>();
     savingManagerScript.Load();
     if (dustingChoreUnlocked == true)
     {
         chores.Add(dustingChoreObject);
         Debug.Log("Dusting Chore Already Added");
     }
     if (trashChoreUnlocked == true)
     {
         chores.Add(garbageChoreObject);
         Debug.Log("Garbage Chore Already Added");
     }
 }
 public void Load()
 {
     StartCoroutine(savingManager.Load());
     Resume();
 }