|
@@ -63,8 +63,8 @@ public class TaskManager : MonoBehaviour
|
|
|
|
|
|
public GameObject inputbt;
|
|
|
private void Awake()
|
|
|
- {
|
|
|
- // PlayerPrefs.DeleteAll();
|
|
|
+ {
|
|
|
+ // PlayerPrefs.DeleteAll();21312312
|
|
|
StartCoroutine(InitGame());
|
|
|
}
|
|
|
|
|
@@ -124,6 +124,7 @@ public class TaskManager : MonoBehaviour
|
|
|
nowTaskIndex = -1;
|
|
|
ntconfig = tconfigs[nowTaskCt];
|
|
|
|
|
|
+ nowTaskItem = ntconfig.TaskList[nowTaskIndex];
|
|
|
nextTask();
|
|
|
Main.SetActive(false);
|
|
|
Sence.SetActive(true);
|
|
@@ -137,6 +138,7 @@ public class TaskManager : MonoBehaviour
|
|
|
nowTaskCt = 1;
|
|
|
nowTaskIndex = 8;
|
|
|
ntconfig = tconfigs[nowTaskCt];
|
|
|
+ nowTaskItem = ntconfig.TaskList[nowTaskIndex];
|
|
|
nextTask();
|
|
|
Main.SetActive(false);
|
|
|
Sence.SetActive(true);
|