private IEnumerator LoadPlayer() // 載入角色 { if (File.Exists(filepath)) // 先更新資料 在做載入(避免有新增欄位讀不到) { ds.UpdateData(); ds.LoadData(); SceneManager.LoadScene(2); } else { load__Panel.SetActive(true); } yield return(null); }