public IEnumerator InitTeamData() { //아군 세팅 TeamData myteam = new TeamData(1); myteam.InitDeckinfo(1, SaveDataManagerScript.Instance.GetCurrentDeckList()); TeamDatas.Add(1, myteam); //적군 세팅 TeamData enemyteam = new TeamData(2); enemyteam.InitDeckinfo(2, SaveDataManagerScript.Instance.GetCurrentDeckList()); TeamDatas.Add(2, enemyteam); yield return(null); }