|
@@ -64,7 +64,7 @@ public class TaskManager : MonoBehaviour
|
|
public GameObject inputbt;
|
|
public GameObject inputbt;
|
|
private void Awake()
|
|
private void Awake()
|
|
{
|
|
{
|
|
- // PlayerPrefs.DeleteAll();21312312
|
|
|
|
|
|
+ PlayerPrefs.DeleteAll();
|
|
StartCoroutine(InitGame());
|
|
StartCoroutine(InitGame());
|
|
}
|
|
}
|
|
|
|
|
|
@@ -146,7 +146,7 @@ public class TaskManager : MonoBehaviour
|
|
GameObject hc;
|
|
GameObject hc;
|
|
|
|
|
|
public List<GameObject> items;
|
|
public List<GameObject> items;
|
|
-
|
|
|
|
|
|
+ public GameObject rawjingzi;
|
|
private IEnumerator checktaskSence(TaskItem ti)
|
|
private IEnumerator checktaskSence(TaskItem ti)
|
|
{
|
|
{
|
|
if(hc)
|
|
if(hc)
|
|
@@ -250,6 +250,7 @@ public class TaskManager : MonoBehaviour
|
|
allimg.GetComponent<Button>().enabled = !ti.isClosebtShow;
|
|
allimg.GetComponent<Button>().enabled = !ti.isClosebtShow;
|
|
|
|
|
|
tuodongbg.SetActive(ti.isTuo);
|
|
tuodongbg.SetActive(ti.isTuo);
|
|
|
|
+ rawjingzi.SetActive(ti.isTuo);
|
|
break;
|
|
break;
|
|
case TaskConfig.TaskType.Xiansuo:
|
|
case TaskConfig.TaskType.Xiansuo:
|
|
if (isarinit)
|
|
if (isarinit)
|