private void UpdatePlayerSelectPrefab() { if (mainmenu.GetTransitionType() == MainmenuConstant.Type.PvcCpuLevelSelect) { // プレイヤー VS Cpu // Cpuレベル選択 Debug.Log("PvC"); SwitchPrefab(MainmenuConstant.Type.PvcCpuLevelSelect); mode = Pong.MainmenuTask.Mode.PvC; return; } if (mainmenu.GetTransitionType() == MainmenuConstant.Type.CvcCpuLevelSelect1) { // CPU同士の対戦はまだ未実装 Debug.Log("CvC"); SwitchPrefab(mainmenu.GetTransitionType()); mode = Pong.MainmenuTask.Mode.CvC; return; } }
public MainmenuTask() { //type = Pong.MainmenuConstant.Type.None; type = Pong.MainmenuConstant.Type.PlayerModeSelect; mode = Pong.MainmenuTask.Mode.PvC; }