public void GameOver_prop() { BackGroundPic.SetActive(true); JoyStickPanel_Left.SetActive(false); DragButton.SetActive(false); GameOver_Menu.SetActive(true); Destroy(Main_Camera.GetComponent <CameraFollow>()); }
void Start() { //Mission_id = ES2.Load<int>(Application.persistentDataPath+"/LvInfo.kanb?tag=Mission_id"); Mission_id = PlayerPrefs.GetInt("Mission_id"); StartCoroutine("MissionShow"); JoyStickPanel_Left.SetActive(false); DragButton.SetActive(false); GameOver_Menu.SetActive(false); }