12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using I2.Loc;
- using UnityEngine;
- using wf;
- public class DanceSelect : WfScreenChildren
- {
- public static void CreateDanceData()
- {
- if (DanceSelect.dance_data_list_ != null)
- {
- return;
- }
- HashSet<int> enabled_id_list = new HashSet<int>();
- Action<string> action = delegate(string file_name)
- {
- file_name += ".nei";
- if (!GameUty.FileSystem.IsExistentFile(file_name))
- {
- return;
- }
- using (AFileBase afileBase2 = GameUty.FileSystem.FileOpen(file_name))
- {
- using (CsvParser csvParser2 = new CsvParser())
- {
- bool condition2 = csvParser2.Open(afileBase2);
- NDebug.Assert(condition2, file_name + "\nopen failed.");
- for (int m = 1; m < csvParser2.max_cell_y; m++)
- {
- if (csvParser2.IsCellToExistData(0, m))
- {
- int cellAsInteger2 = csvParser2.GetCellAsInteger(0, m);
- if (!enabled_id_list.Contains(cellAsInteger2))
- {
- enabled_id_list.Add(cellAsInteger2);
- }
- }
- }
- }
- }
- };
- action("dance_enabled_list");
- for (int i = 0; i < GameUty.PathList.Count; i++)
- {
- action("dance_enabled_list_" + GameUty.PathList[i]);
- }
- DanceSelect.dance_data_list_ = new List<DanceData>();
- using (AFileBase afileBase = GameUty.FileSystem.FileOpen("dance_setting.nei"))
- {
- using (CsvParser csvParser = new CsvParser())
- {
- bool condition = csvParser.Open(afileBase);
- NDebug.Assert(condition, "file open error[dance_setting.nei]");
- for (int j = 1; j < csvParser.max_cell_y; j++)
- {
- if (csvParser.IsCellToExistData(0, j))
- {
- int num = 0;
- int cellAsInteger = csvParser.GetCellAsInteger(num++, j);
- if (enabled_id_list.Contains(cellAsInteger))
- {
- DanceData danceData = new DanceData();
- danceData.ID = cellAsInteger;
- danceData.title = csvParser.GetCellAsString(num++, j);
- danceData.title = danceData.title.Replace("《改行》", "\n");
- danceData.title_font_size = csvParser.GetCellAsInteger(num++, j);
- danceData.title_offset_y = csvParser.GetCellAsInteger(num++, j);
- danceData.select_chara_num = csvParser.GetCellAsInteger(num++, j);
- danceData.scene_name = csvParser.GetCellAsString(num++, j);
- danceData.commentary_text = csvParser.GetCellAsString(num++, j);
- danceData.commentary_text = danceData.commentary_text.Replace("《改行》", "\n");
- danceData.sample_image_name = csvParser.GetCellAsString(num++, j);
- danceData.bgm_file_name = csvParser.GetCellAsString(num++, j);
- danceData.preset_name = new List<string>();
- for (int k = 0; k < danceData.select_chara_num; k++)
- {
- danceData.preset_name.Add(string.Empty);
- }
- string cellAsString = csvParser.GetCellAsString(num++, j);
- if (!string.IsNullOrEmpty(cellAsString))
- {
- string[] array = cellAsString.Split(new char[]
- {
- ','
- });
- NDebug.Assert(array.Length <= danceData.preset_name.Count, "ダンス[" + danceData.title + "]のプリセット人数設定が\n多すぎます");
- int num2 = 0;
- while (num2 < danceData.preset_name.Count && num2 < array.Length)
- {
- danceData.preset_name[num2] = array[num2].Trim();
- num2++;
- }
- }
- string cellAsString2 = csvParser.GetCellAsString(num++, j);
- if (!string.IsNullOrEmpty(cellAsString2))
- {
- danceData.scenario_progress = int.Parse(cellAsString2);
- }
- string cellAsString3 = csvParser.GetCellAsString(num++, j);
- if (!string.IsNullOrEmpty(cellAsString3))
- {
- danceData.Term = (DanceData.DanceTerm)Enum.Parse(typeof(DanceData.DanceTerm), cellAsString3);
- }
- danceData.AppealCutinName = csvParser.GetCellAsString(num++, j);
- danceData.ReversalCutinName = csvParser.GetCellAsString(num++, j);
- danceData.danceshow_scene = csvParser.GetCellAsString(num++, j);
- danceData.danceshow_image = csvParser.GetCellAsString(num++, j);
- string cellAsString4 = csvParser.GetCellAsString(num++, j);
- if (!string.IsNullOrEmpty(cellAsString4))
- {
- foreach (string text in cellAsString4.Split(new char[]
- {
- ','
- }))
- {
- string s = text.Split(new char[]
- {
- '='
- })[1].Split(new char[]
- {
- '_'
- })[1];
- danceData.maid_order.Add(int.Parse(s) - 1);
- }
- }
- string cellAsString5 = csvParser.GetCellAsString(num++, j);
- if (cellAsString5 != null)
- {
- if (!(cellAsString5 == "ライフステージ"))
- {
- if (!(cellAsString5 == "劇場"))
- {
- if (!(cellAsString5 == "ポールダンス"))
- {
- if (cellAsString5 == "教室")
- {
- danceData.bgType = DanceData.BgType.ClassRoom;
- }
- }
- else
- {
- danceData.bgType = DanceData.BgType.PoleDance;
- }
- }
- else
- {
- danceData.bgType = DanceData.BgType.Theater;
- }
- }
- else
- {
- danceData.bgType = DanceData.BgType.LiveStage;
- }
- }
- IL_4B7:
- danceData.InitialPlayable = csvParser.IsCellToExistData(num++, j);
- danceData.IsPlayable = danceData.InitialPlayable;
- danceData.RhythmGameCorrespond = (csvParser.GetCellAsString(num++, j) == "◯");
- danceData.SubtitleSheetName = csvParser.GetCellAsString(num++, j);
- danceData.isShowSelectScene = (csvParser.GetCellAsString(num++, j) == "◯");
- danceData.csvFolderName = csvParser.GetCellAsString(num++, j);
- DanceSelect.dance_data_list_.Add(danceData);
- goto IL_558;
- goto IL_4B7;
- }
- }
- IL_558:;
- }
- }
- }
- }
- public override void Awake()
- {
- DanceSelect.CreateDanceData();
- base.Awake();
- if (GameMain.Instance.ScriptMgr.adv_kag.tag_backup.ContainsKey("only_release"))
- {
- this.m_ExistOnlyRelease = true;
- this.m_OnlyRelease = int.Parse(GameMain.Instance.ScriptMgr.adv_kag.tag_backup["only_release"]);
- DanceSelect.m_SelectedDance.Clear();
- }
- this.m_ForceTheater = GameMain.Instance.ScriptMgr.adv_kag.tag_backup.ContainsKey("force_theater");
- this.m_ReleaseButton.gameObject.SetActive(false);
- EventDelegate.Add(this.OkButton.onClick, new EventDelegate.Callback(this.OnClickOkButton));
- EventDelegate.Add(this.CancelButton.onClick, new EventDelegate.Callback(this.OnClickCancelButton));
- GameObject gameObject = this.OkButton.transform.parent.gameObject;
- this.m_MainButtonPanel = gameObject.GetComponent<UIPanel>();
- EventDelegate.Add(this.m_SubOkButton.onClick, new EventDelegate.Callback(this.OnClickOkButton));
- EventDelegate.Add(this.m_SubCancelButton.onClick, new EventDelegate.Callback(this.OnClickCancelButton));
- GameObject gameObject2 = this.m_SubOkButton.transform.parent.gameObject;
- EventDelegate.Add(this.m_BackButton.onClick, new EventDelegate.Callback(this.OnClickCancelButton));
- this.m_DanceShowPanel.SetActive(false);
- this.m_DanceModePanel.gameObject.SetActive(false);
- switch (RhythmAction_Mgr.NowDance)
- {
- case RhythmAction_Mgr.DanceType.Free:
- case RhythmAction_Mgr.DanceType.View:
- case RhythmAction_Mgr.DanceType.Touch:
- case RhythmAction_Mgr.DanceType.VrDance:
- {
- gameObject2.SetActive(false);
- this.m_DanceModePanel.gameObject.SetActive(true);
- this.m_MainButtonPanel.alpha = 0f;
- Transform transform = this.m_DanceModePanel.transform.Find("ButtonGroup");
- bool flag = GameMain.Instance.VRMode && !GameMain.Instance.OvrMgr.OvrCamera.IsNoHandController;
- if (flag)
- {
- transform.localPosition = Vector3.zero;
- }
- IEnumerator enumerator = transform.GetEnumerator();
- try
- {
- while (enumerator.MoveNext())
- {
- object obj = enumerator.Current;
- Transform transform2 = (Transform)obj;
- if (!flag && transform2.name == "TouchMode")
- {
- transform2.gameObject.SetActive(false);
- }
- else
- {
- UIButton component = transform2.GetComponent<UIButton>();
- UILabel component2 = transform2.Find("Label").GetComponent<UILabel>();
- this.m_DanceModeButtonGroup.Add(component, component2);
- EventDelegate.Add(component.onClick, new EventDelegate.Callback(this.SetDanceMode));
- }
- }
- }
- finally
- {
- IDisposable disposable;
- if ((disposable = (enumerator as IDisposable)) != null)
- {
- disposable.Dispose();
- }
- }
- break;
- }
- case RhythmAction_Mgr.DanceType.Challenge:
- gameObject.transform.parent = this.CharaSelectPanel.ParentPanel.gameObject.transform;
- gameObject2.transform.parent = this.MusicSelectPanel.ParentPanel.gameObject.transform;
- UTY.GetChildObject(this.MusicSelectPanel.ParentPanel.gameObject, "SelectPanel", false).SetActive(false);
- this.m_DanceShowPanel.SetActive(true);
- break;
- case RhythmAction_Mgr.DanceType.VS:
- case RhythmAction_Mgr.DanceType.VS_Skip:
- gameObject.SetActive(false);
- this.m_SubCancelButton.gameObject.SetActive(false);
- break;
- }
- this.select_panelset_array_ = new DanceSelect.SelectPanelSet[]
- {
- this.CharaSelectPanel,
- this.MusicSelectPanel
- };
- for (int i = 0; i < this.select_panelset_array_.Length; i++)
- {
- NDebug.AssertNull(this.select_panelset_array_[i].ContentsPanel != null && this.select_panelset_array_[i].ParentPanel != null);
- }
- if (!Product.supportMultiLanguage)
- {
- this.m_CharaSelectLabel = UTY.GetChildObject(this.CharaSelectPanel.ParentPanel.gameObject, "ExplanatoryText/Value", false).GetComponent<UILabel>();
- Localize component3 = this.m_CharaSelectLabel.GetComponent<Localize>();
- if (component3 != null)
- {
- NGUILabelLocalizeSupport component4 = component3.gameObject.GetComponent<NGUILabelLocalizeSupport>();
- if (component4 != null)
- {
- UnityEngine.Object.DestroyImmediate(component4);
- }
- UnityEngine.Object.DestroyImmediate(component3);
- }
- this.m_CharaSelectLabel.text = "ダンスを行うメイドを選択してください。";
- }
- this.chara_select_mgr_ = this.CharaSelectPanel.ParentPanel.gameObject.GetComponentInChildren<CharacterSelectManager>();
- NDebug.AssertNull(this.chara_select_mgr_ != null);
- }
- private void CreateMusicPanel()
- {
- if (!RhythmAction_Mgr.IsVSDance || RhythmAction_Mgr.NowState != RhythmAction_Mgr.DanceState.Dance_Second)
- {
- DanceSelect.m_SelectedDance.Clear();
- }
- this.MusicSelectPanel.ContentsGrid.hideInactive = true;
- UIWFTabPanel uiwftabPanel = this.MusicSelectPanel.ContentsGrid.GetComponent<UIWFTabPanel>();
- if (!uiwftabPanel)
- {
- uiwftabPanel = this.MusicSelectPanel.ContentsGrid.gameObject.AddComponent<UIWFTabPanel>();
- }
- GameObject gameObject = this.MusicSelectPanel.ContentsGrid.gameObject;
- for (int i = 0; i < gameObject.transform.childCount; i++)
- {
- Transform child = gameObject.transform.GetChild(i);
- UnityEngine.Object.Destroy(child.gameObject);
- }
- gameObject.transform.DetachChildren();
- int musicReleaseFlag = RhythmAction_Mgr.MusicReleaseFlag;
- UIWFTabButton uiwftabButton = null;
- for (int j = 0; j < DanceSelect.dance_data_list_.Count; j++)
- {
- if (DanceSelect.dance_data_list_[j].isShowSelectScene)
- {
- if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge)
- {
- break;
- }
- if (RhythmAction_Mgr.IsVSDance)
- {
- if (DanceSelect.dance_data_list_[j].Term == DanceData.DanceTerm.VS外 || ((!this.m_ForceTheater) ? (DanceSelect.dance_data_list_[j].bgType == DanceData.BgType.Theater) : (DanceSelect.dance_data_list_[j].bgType != DanceData.BgType.Theater)))
- {
- goto IL_337;
- }
- if (this.m_ExistOnlyRelease && DanceSelect.dance_data_list_[j].scenario_progress != this.m_OnlyRelease)
- {
- goto IL_337;
- }
- if (!this.m_ExistOnlyRelease && !DanceSelect.dance_data_list_[j].IsPlayable)
- {
- goto IL_337;
- }
- }
- else if (!this.m_AllRelease && !DanceSelect.dance_data_list_[j].IsPlayable)
- {
- goto IL_337;
- }
- GameObject gameObject2 = Utility.CreatePrefab(gameObject, "SceneDanceSelect/Prefab/SongPlate", true);
- UTY.GetChildObject(gameObject2, "title", false).GetComponent<UILabel>().fontSize = DanceSelect.dance_data_list_[j].title_font_size;
- UTY.GetChildObject(gameObject2, "title", false).transform.localPosition = new Vector3(0f, (float)DanceSelect.dance_data_list_[j].title_offset_y, 0f);
- UTY.GetChildObject(gameObject2, "title", false).GetComponent<UILabel>().text = DanceSelect.dance_data_list_[j].title;
- UTY.GetChildObject(gameObject2, "title", false).GetComponent<Localize>().SetTerm(DanceSelect.dance_data_list_[j].titleTerm);
- gameObject2.name = DanceSelect.dance_data_list_[j].title;
- UIWFTabButton componentInChildren = gameObject2.GetComponentInChildren<UIWFTabButton>();
- if (!uiwftabButton)
- {
- uiwftabButton = componentInChildren;
- }
- if (RhythmAction_Mgr.IsVSDance && DanceSelect.dance_data_list_[j].select_chara_num > GameMain.Instance.CharacterMgr.GetStockMaidCount())
- {
- componentInChildren.isEnabled = false;
- this.m_NotSelectDance.Add(componentInChildren);
- }
- this.m_SongPlatelUIPair.Add(DanceSelect.dance_data_list_[j], componentInChildren);
- EventDelegate.Add(componentInChildren.onSelect, new EventDelegate.Callback(this.OnSelectSong));
- }
- IL_337:;
- }
- gameObject.GetComponent<UIGrid>().repositionNow = true;
- this.MusicSelectPanel.ContentsPanel.GetComponent<UIScrollView>().ResetPosition();
- uiwftabPanel.UpdateChildren();
- if (RhythmAction_Mgr.IsVSDance && this.m_NotSelectDance.Count > 0)
- {
- foreach (UIWFTabButton uiwftabButton2 in this.m_SongPlatelUIPair.Values)
- {
- EventDelegate.Add(uiwftabButton2.onClick, new EventDelegate.Callback(this.PlateDisable));
- }
- }
- if (this.music_info_ != null)
- {
- this.music_info_.Release();
- }
- GameObject childObject = UTY.GetChildObject(this.MusicSelectPanel.ParentPanel.gameObject, "MujicInfo", false);
- if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge)
- {
- childObject.SetActive(false);
- this.music_info_ = new DanceSelectMusicInfo(this.m_DanceShowPanel);
- }
- else
- {
- this.music_info_ = new DanceSelectMusicInfo(childObject);
- }
- GameObject infoUI = this.music_info_.InfoUI;
- if (RhythmAction_Mgr.IsVSDance)
- {
- infoUI.SetActive(false);
- }
- if (uiwftabButton && DanceSelect.m_SelectedDance.Count == 0 && this.IsFreeDance())
- {
- uiwftabPanel.Select(uiwftabButton);
- }
- }
- private void PlateDisable()
- {
- foreach (UIWFSelectButton uiwfselectButton in this.m_NotSelectDance)
- {
- uiwfselectButton.isEnabled = false;
- }
- }
- public void Start()
- {
- this.CreateMusicPanel();
- this.Init();
- this.m_ReleaseButton.defaultColor = (this.m_ReleaseButton.hover = ((!this.m_AllRelease) ? this.m_ReleaseOffCol : this.m_ReleaseOnCol));
- if (!this.IsFreeDance())
- {
- this.m_SettingObj.SetUIMode(string.Empty);
- }
- this.m_WarningText.SetActive(false);
- if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge)
- {
- if (DanceSelect.ChallengeDay < GameMain.Instance.CharacterMgr.status.days)
- {
- List<DanceData> list = (from e in DanceSelect.dance_data_list_
- where e.bgType == DanceData.BgType.Theater && e.RhythmGameCorrespond
- select e).ToList<DanceData>();
- if (!this.m_AllRelease)
- {
- list = (from e in list
- where e.IsPlayable && e.RhythmGameCorrespond
- select e).ToList<DanceData>();
- }
- int index = UnityEngine.Random.Range(0, list.Count);
- string title = list[index].title;
- for (int i = 0; i < list.Count; i++)
- {
- if (list[i].title == title)
- {
- DanceSelect.m_SelectedDance.Clear();
- DanceSelect.m_SelectedDance.Add(list[i]);
- DanceSelect.m_ChallengeDanceData = list[i];
- break;
- }
- }
- DanceSelect.ChallengeDay = GameMain.Instance.CharacterMgr.status.days;
- }
- else
- {
- DanceSelect.m_SelectedDance.Clear();
- DanceSelect.m_SelectedDance.Add(DanceSelect.m_ChallengeDanceData);
- }
- this.music_info_.SetDanceData(DanceSelect.m_SelectedDance.First<DanceData>());
- this.m_SubOkButton.isEnabled = (DanceSelect.m_ChallengeDanceData.select_chara_num <= GameMain.Instance.CharacterMgr.GetStockMaidCount());
- this.m_WarningText.SetActive(!this.m_SubOkButton.isEnabled);
- }
- }
- protected override void OnCall()
- {
- uGUITutorialPanel.OpenTutorial("SceneDanceSelect", null, false);
- GameMain.Instance.SysShortcut.strSceneHelpName = "SceneDanceSelect";
- CharacterMgr characterMgr = GameMain.Instance.CharacterMgr;
- characterMgr.DeactivateCharaAll();
- for (int i = 0; i < characterMgr.GetMaidCount(); i++)
- {
- if (characterMgr.GetMaid(i) != null)
- {
- characterMgr.Deactivate(i, false);
- }
- }
- GameMain.Instance.BgMgr.ChangeBg(this.m_BGName);
- GameMain.Instance.MainCamera.SetTargetPos(this.m_CamPos, true);
- GameMain.Instance.MainCamera.SetDistance(this.m_CamDistance, true);
- GameMain.Instance.MainCamera.SetAroundAngle(this.m_CamAngle, true);
- GameMain.Instance.SoundMgr.PlayBGM(this.m_BGM, 0.5f, true);
- this.Init();
- if (this.IsFreeDance())
- {
- this.CallDanceModeSelect();
- }
- else if (RhythmAction_Mgr.IsVSDance)
- {
- if (VsDanceDataMgr.Instance.CurrentSetting.isSpecifiedVictoryState || DanceSelect.m_SelectedDance.Count > 0)
- {
- this.CallCharaSelect();
- }
- }
- else
- {
- this.CallMusicSelect();
- }
- if (RhythmAction_Mgr.IsVSDance && DanceSelect.m_SelectedDance.Count == 0)
- {
- UIWFTabPanel componentInChildren = this.MusicSelectPanel.ContentsPanel.GetComponentInChildren<UIWFTabPanel>();
- componentInChildren.Select(this.MusicSelectPanel.ContentsGrid.GetChild(0).GetComponentInChildren<UIWFTabButton>());
- }
- if (GameMain.Instance.VRMode)
- {
- UnityEngine.Object original = Resources.Load("OVR/DanceOVRDialog");
- GameObject gameObject = UnityEngine.Object.Instantiate(original) as GameObject;
- GameObject gameObject2 = GameObject.Find("/UI Root");
- gameObject.transform.SetParent(gameObject2.transform, false);
- gameObject.GetComponent<UIPanel>().depth = 250;
- this.ovr_dance_cam_dlg_ = gameObject.GetComponent<FFNameDialog>();
- this.ovr_dance_cam_dlg_.Init();
- gameObject.SetActive(false);
- }
- }
- public void OnDestroy()
- {
- if (this.music_info_ != null)
- {
- this.music_info_.Release();
- }
- }
- private void Init()
- {
- this.m_DanceModePanel.alpha = 0f;
- for (int i = 0; i < this.select_panelset_array_.Length; i++)
- {
- this.select_panelset_array_[i].ParentPanel.gameObject.SetActive(true);
- this.select_panelset_array_[i].ParentPanel.alpha = 0f;
- }
- DanceMain.KaraokeMode = false;
- UIRect danceModePanel = this.m_DanceModePanel;
- float num = 0f;
- this.MusicSelectPanel.ParentPanel.alpha = num;
- num = num;
- this.CharaSelectPanel.ParentPanel.alpha = num;
- danceModePanel.alpha = num;
- if (this.IsFreeDance())
- {
- this.m_DanceModePanel.alpha = 1f;
- }
- else if (RhythmAction_Mgr.IsVSDance && DanceSelect.m_SelectedDance.Count > 0)
- {
- this.CharaSelectPanel.ParentPanel.alpha = 1f;
- }
- else
- {
- this.MusicSelectPanel.ParentPanel.alpha = 1f;
- }
- }
- public void SetCancelLabel(string cancel_call_label)
- {
- this.cancel_call_label_ = cancel_call_label;
- }
- private void CallMusicSelect()
- {
- string normalSprite = "cm3d2_common_nextbuttom";
- if (this.IsFreeDance())
- {
- this.OkButton.normalSprite = normalSprite;
- this.OkButton.isEnabled = true;
- }
- else
- {
- this.m_SubOkButton.normalSprite = normalSprite;
- }
- bool flag = false;
- bool flag2 = false;
- UIWFTabButton uiwftabButton = null;
- foreach (KeyValuePair<DanceData, UIWFTabButton> keyValuePair in this.m_SongPlatelUIPair)
- {
- bool flag3 = true;
- if (!this.m_AllRelease)
- {
- flag3 &= (keyValuePair.Key.IsPlayable || (this.m_ExistOnlyRelease && keyValuePair.Key.scenario_progress == this.m_OnlyRelease));
- }
- if (RhythmAction_Mgr.IsRhythmGameMode)
- {
- flag3 &= keyValuePair.Key.RhythmGameCorrespond;
- }
- keyValuePair.Value.transform.parent.gameObject.SetActive(flag3);
- if (!flag3)
- {
- if (DanceSelect.m_SelectedDance.Count<DanceData>() > 0 && DanceSelect.m_SelectedDance.First<DanceData>() == keyValuePair.Key)
- {
- keyValuePair.Value.SetSelect(false);
- flag = true;
- }
- }
- else if (flag && !flag2)
- {
- flag2 = true;
- keyValuePair.Value.SetSelect(true);
- }
- if (keyValuePair.Value.transform.parent.gameObject.activeSelf)
- {
- uiwftabButton = keyValuePair.Value;
- }
- }
- if (flag && !flag2)
- {
- uiwftabButton.SetSelect(true);
- }
- this.MusicSelectPanel.ContentsGrid.repositionNow = true;
- this.status_ = DanceSelect.Status.MusicSelect;
- if (this.MusicSelectPanel.ParentPanel.alpha != 1f)
- {
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 0f,
- "to",
- 1f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateFadeMusicPanel"
- }));
- if (this.CharaSelectPanel.ParentPanel.alpha != 0f)
- {
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 1f,
- "to",
- 0f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateFadeCharaPanel"
- }));
- }
- else if (this.m_DanceModePanel.alpha != 0f)
- {
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 1f,
- "to",
- 0f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateDanceModePanel"
- }));
- }
- }
- }
- private void CallCharaSelect()
- {
- string normalSprite = "cm3d2_common_okbuttom";
- if (RhythmAction_Mgr.IsVSDance)
- {
- this.m_SubOkButton.normalSprite = normalSprite;
- }
- else
- {
- this.OkButton.normalSprite = normalSprite;
- }
- this.status_ = DanceSelect.Status.CaharaSelect;
- DanceSelect.m_SelectedMaid.Clear();
- if (RhythmAction_Mgr.IsVSDance && VsDanceDataMgr.Instance.CurrentSetting.specifyDanceData != null)
- {
- DanceData specifyDanceData = VsDanceDataMgr.Instance.CurrentSetting.specifyDanceData;
- if (RhythmAction_Mgr.IsVSDanceFirst)
- {
- DanceSelect.m_SelectedDance.Add(specifyDanceData);
- }
- if (VsDanceDataMgr.Instance.CurrentSetting.isSpecifiedVictoryState)
- {
- this.music_info_.SetDanceData(specifyDanceData);
- }
- }
- if (DanceSelect.m_SelectedDance.Count > 0)
- {
- int select_chara_num = DanceSelect.m_SelectedDance.First<DanceData>().select_chara_num;
- if (!Product.supportMultiLanguage && (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge || RhythmAction_Mgr.IsVSDance))
- {
- this.m_CharaSelectLabel.text = "ダンスを行うメイドを" + select_chara_num + "人選択してください。";
- }
- if (1 < select_chara_num)
- {
- if (RhythmAction_Mgr.IsVSDance)
- {
- this.m_SubOkButton.isEnabled = false;
- }
- else
- {
- this.OkButton.isEnabled = false;
- }
- CharacterSelectManager.CallBackOnMultiSelect callBackOnMultiSelect = delegate(Maid[] maid_array)
- {
- DanceSelect.m_SelectedMaid.Clear();
- for (int l = 0; l < maid_array.Length; l++)
- {
- DanceSelect.m_SelectedMaid.Add(maid_array[l]);
- }
- if (RhythmAction_Mgr.IsVSDance)
- {
- this.m_SubOkButton.isEnabled = DanceSelect.m_SelectedMaid.All((Maid e) => e != null);
- }
- else if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge)
- {
- this.OkButton.isEnabled = DanceSelect.m_SelectedMaid.All((Maid e) => e != null);
- }
- else
- {
- this.OkButton.isEnabled = DanceSelect.m_SelectedMaid.Any((Maid e) => e != null);
- }
- };
- this.chara_select_mgr_.SetCallBackOnMultiSelect(callBackOnMultiSelect);
- this.chara_select_mgr_.Create(CharacterSelectManager.Type.Multiple, select_chara_num, true);
- }
- else
- {
- CharacterSelectManager.CallBackOnSelect callBackCallBackOnSelect = delegate(Maid select_maid)
- {
- DanceSelect.m_SelectedMaid.Clear();
- DanceSelect.m_SelectedMaid.Add(select_maid);
- };
- this.chara_select_mgr_.SetCallBackCallBackOnSelect(callBackCallBackOnSelect);
- this.chara_select_mgr_.Create(CharacterSelectManager.Type.Select, 3, true);
- }
- if (RhythmAction_Mgr.IsVSDance)
- {
- for (int i = 0; i < GameMain.Instance.CharacterMgr.GetStockMaidCount(); i++)
- {
- Maid stockMaid = GameMain.Instance.CharacterMgr.GetStockMaid(i);
- if (!VsDanceDataMgr.Instance.CurrentSetting.IsCanBattleParticipate(stockMaid))
- {
- this.chara_select_mgr_.RemoveMaidPlate(stockMaid);
- }
- }
- if (select_chara_num > 1 && VsDanceDataMgr.Instance.CurrentSetting.isSpecifiedVictoryState)
- {
- foreach (string b in VsDanceDataMgr.Instance.CurrentSetting.fixedMaidOrder)
- {
- for (int k = 0; k < GameMain.Instance.CharacterMgr.GetStockMaidCount(); k++)
- {
- Maid stockMaid2 = GameMain.Instance.CharacterMgr.GetStockMaid(k);
- if (VsDanceDataMgr.Instance.CurrentSetting.IsCanBattleParticipate(stockMaid2))
- {
- if (stockMaid2.status.personal.uniqueName == b)
- {
- this.chara_select_mgr_.SetSelectStateMaid(stockMaid2, true);
- break;
- }
- }
- }
- }
- base.StartCoroutine(this.ColiderOff());
- }
- }
- }
- if (this.CharaSelectPanel.ParentPanel.alpha != 1f)
- {
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 0f,
- "to",
- 1f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateFadeCharaPanel"
- }));
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 1f,
- "to",
- 0f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateFadeMusicPanel"
- }));
- }
- }
- private IEnumerator ColiderOff()
- {
- yield return null;
- List<Transform> maid_plates = this.chara_select_mgr_.MaidPlateParentGrid.GetChildList();
- foreach (Transform transform in maid_plates)
- {
- transform.GetComponentInChildren<BoxCollider>().enabled = false;
- }
- yield break;
- }
- private void CallDanceModeSelect()
- {
- this.status_ = DanceSelect.Status.DanceModeSelect;
- this.m_MainButtonFade = true;
- if (this.m_DanceModePanel.alpha != 1f)
- {
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 0f,
- "to",
- 1f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateDanceModePanel"
- }));
- iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
- {
- "easetype",
- iTween.EaseType.easeOutQuad,
- "from",
- 1f,
- "to",
- 0f,
- "time",
- DanceSelect.kFadeTime,
- "delay",
- 0,
- "onUpdate",
- "OnUpdateFadeMusicPanel"
- }));
- }
- }
- private void OnUpdateFadeMusicPanel(float val)
- {
- this.MusicSelectPanel.ParentPanel.alpha = val;
- if (this.m_MainButtonFade)
- {
- this.m_MainButtonPanel.alpha = val;
- }
- }
- private void OnUpdateFadeCharaPanel(float val)
- {
- this.CharaSelectPanel.ParentPanel.alpha = val;
- }
- private void OnUpdateDanceModePanel(float val)
- {
- this.m_DanceModePanel.alpha = val;
- }
- private void OnSelectSong()
- {
- if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge)
- {
- return;
- }
- string name = UIWFSelectButton.current.gameObject.transform.parent.name;
- if (!UIWFSelectButton.current.isSelected)
- {
- return;
- }
- for (int i = 0; i < DanceSelect.dance_data_list_.Count; i++)
- {
- if (DanceSelect.dance_data_list_[i].title == name)
- {
- DanceSelect.m_SelectedDance.Clear();
- DanceSelect.m_SelectedDance.Add(DanceSelect.dance_data_list_[i]);
- this.music_info_.SetDanceData(DanceSelect.m_SelectedDance.First<DanceData>());
- if (!this.music_info_.InfoUI.activeSelf)
- {
- this.music_info_.InfoUI.SetActive(true);
- }
- break;
- }
- }
- }
- private void OnClickOkButton()
- {
- if (DanceSelect.m_SelectedDance == null)
- {
- return;
- }
- if (this.status_ == DanceSelect.Status.MusicSelect)
- {
- if (this.MusicSelectPanel.ParentPanel.alpha != 1f)
- {
- return;
- }
- this.m_MainButtonFade = false;
- this.CallCharaSelect();
- }
- else if (this.status_ == DanceSelect.Status.CaharaSelect)
- {
- if (DanceSelect.m_SelectedDance.First<DanceData>().select_chara_num == 1 && DanceSelect.m_SelectedMaid.Count <= 0)
- {
- return;
- }
- if (this.CharaSelectPanel.ParentPanel.alpha != 1f)
- {
- return;
- }
- DanceMain.SelectDanceData = DanceSelect.m_SelectedDance.First<DanceData>();
- string str = DanceSelect.m_SelectedDance.First<DanceData>().scene_name;
- if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Challenge && !string.IsNullOrEmpty(DanceSelect.m_SelectedDance.First<DanceData>().danceshow_scene))
- {
- str = DanceSelect.m_SelectedDance.First<DanceData>().danceshow_scene;
- }
- GameMain.Instance.ScriptMgr.EvalScript("tf['dance_scene_name'] = '" + str + "';");
- foreach (Maid maid in DanceSelect.m_SelectedMaid)
- {
- if (maid)
- {
- DanceSelect.SelectTopMaid = maid;
- break;
- }
- }
- this.m_SettingObj.DisSelectable();
- if (!GameMain.Instance.VRMode)
- {
- this.Finish();
- }
- else if (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Touch)
- {
- this.OnOvrCamFree();
- }
- else
- {
- this.ovr_dance_cam_dlg_.ShowFromLanguageTerm("SceneDanceSelect/カメラのタイプを選んで下さい。", "SceneDanceSelect/自由カメラ", new FFNameDialog.OnClick(this.OnOvrCamFree), "SceneDanceSelect/移動カメラ", new FFNameDialog.OnClick(this.OnOvrCamMove), string.Empty, null);
- }
- }
- }
- private void OnClickCancelButton()
- {
- switch (this.status_)
- {
- case DanceSelect.Status.MusicSelect:
- if (this.MusicSelectPanel.ParentPanel.alpha != 1f)
- {
- return;
- }
- if (this.IsFreeDance())
- {
- this.m_MainButtonFade = true;
- this.CallDanceModeSelect();
- }
- else if (!string.IsNullOrEmpty(this.cancel_call_label_))
- {
- this.CancelFinish();
- }
- break;
- case DanceSelect.Status.CaharaSelect:
- if (this.CharaSelectPanel.ParentPanel.alpha != 1f)
- {
- return;
- }
- this.m_MainButtonFade = false;
- this.CallMusicSelect();
- break;
- case DanceSelect.Status.DanceModeSelect:
- if (this.m_DanceModePanel.alpha != 1f)
- {
- return;
- }
- if (!string.IsNullOrEmpty(this.cancel_call_label_))
- {
- this.CancelFinish();
- }
- break;
- }
- }
- private void CancelFinish()
- {
- DanceSelectManager danceSelectManager = base.parent_mgr as DanceSelectManager;
- NDebug.AssertNull(danceSelectManager != null);
- danceSelectManager.move_screen.SetNextLabel(this.cancel_call_label_);
- DanceSelect.m_SelectedDance.Clear();
- this.Finish();
- }
- private void SetDanceMode()
- {
- if (this.m_DanceModePanel.alpha != 1f)
- {
- return;
- }
- RhythmAction_Mgr.DanceType nowDance = RhythmAction_Mgr.NowDance;
- if (this.m_DanceModeButtonGroup[UIButton.current].transform.parent.name == "GameMode")
- {
- RhythmAction_Mgr.SetDanceType(RhythmAction_Mgr.DanceType.Free);
- }
- else if (this.m_DanceModeButtonGroup[UIButton.current].transform.parent.name == "ViewMode")
- {
- RhythmAction_Mgr.SetDanceType(RhythmAction_Mgr.DanceType.View);
- }
- else if (this.m_DanceModeButtonGroup[UIButton.current].transform.parent.name == "TouchMode")
- {
- RhythmAction_Mgr.SetDanceType(RhythmAction_Mgr.DanceType.Touch);
- }
- Localize component = this.m_DanceModeButtonGroup[UIButton.current].GetComponent<Localize>();
- string translation = LocalizationManager.GetTranslation(component.Term, true, 0, true, false, null, Product.EnumConvert.ToI2LocalizeLanguageName(Product.Language.Japanese));
- this.m_SettingObj.SetUIMode(translation);
- this.CallMusicSelect();
- }
- private void OnOvrCamFree()
- {
- GameMain.Instance.CMSystem.SetTmpGenericFlag("ダンスOVRカメラタイプ", 0);
- this.Finish();
- }
- private void OnOvrCamMove()
- {
- GameMain.Instance.CMSystem.SetTmpGenericFlag("ダンスOVRカメラタイプ", 1);
- this.Finish();
- }
- private bool IsFreeDance()
- {
- bool flag = RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Free;
- flag |= (RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.View);
- return flag | RhythmAction_Mgr.NowDance == RhythmAction_Mgr.DanceType.Touch;
- }
- public override bool Finish()
- {
- bool flag = base.Finish();
- if (flag && 0 < DanceSelect.m_SelectedMaid.Count && RhythmAction_Mgr.IsVSDance)
- {
- GameMain.Instance.SoundMgr.StopBGM(1.5f);
- }
- return flag;
- }
- protected override void OnFinish()
- {
- if (DanceSelect.m_SelectedDance.Count > 0)
- {
- DanceSelect.SelectMaidActive(DanceSelect.m_SelectedDance.First<DanceData>());
- }
- base.parent_mgr.CallScreen("Move");
- GameMain.Instance.LoadIcon.NextLoadIcontImmediatelyDisplay();
- }
- public static void BenchMarkInit()
- {
- DanceSelect.SelectTopMaid = null;
- DanceSelect.m_SelectedDance.Clear();
- DanceSelect.m_SelectedMaid.Clear();
- DanceSelect.CreateDanceData();
- DanceData danceData = DanceSelect.dance_data_list_.SingleOrDefault((DanceData e) => e.title == "Night Magic Fire");
- NDebug.Assert(danceData != null, "ダンス曲「Night Magic Fire」が存在してません");
- DanceMain.SelectDanceData = danceData;
- GameMain.Instance.ScriptMgr.EvalScript("tf['dance_scene_name'] = '" + danceData.scene_name + "';");
- }
- public static void TrialVsDanceInit()
- {
- }
- public static void SelectMaidActive(DanceData set_dance)
- {
- if (set_dance == null)
- {
- return;
- }
- CharacterMgr characterMgr = GameMain.Instance.CharacterMgr;
- characterMgr.DeactivateCharaAll();
- GameMain.Instance.CMSystem.SetTmpGenericFlag("ダンス設定人数", 0);
- if (0 < DanceSelect.m_SelectedMaid.Count)
- {
- int num = 0;
- for (int i = 0; i < set_dance.select_chara_num; i++)
- {
- if (i >= DanceSelect.m_SelectedMaid.Count)
- {
- break;
- }
- if (DanceSelect.m_SelectedMaid[i])
- {
- characterMgr.SetActiveMaid(DanceSelect.m_SelectedMaid[i], i);
- num++;
- }
- }
- GameMain.Instance.CMSystem.SetTmpGenericFlag("ダンス設定人数", num);
- }
- }
- public static void SetNextDance()
- {
- if (!RhythmAction_Mgr.IsVSDance || DanceMain.KaraokeMode)
- {
- DanceMain.SelectDanceData = null;
- return;
- }
- if (!DanceBattle_Mgr.Instance.IsWin() && RhythmAction_Mgr.NowDance != RhythmAction_Mgr.DanceType.VS_Skip)
- {
- DanceMain.SelectDanceData = null;
- }
- else if (DanceSelect.m_SelectedDance.Count > 0)
- {
- DanceSelect.m_SelectedDance.RemoveAt(0);
- if (DanceSelect.m_SelectedDance.Count > 0)
- {
- DanceMain.SelectDanceData = DanceSelect.m_SelectedDance.First<DanceData>();
- }
- }
- }
- public static List<DanceData> GetDanceDataList()
- {
- DanceSelect.CreateDanceData();
- return DanceSelect.dance_data_list_;
- }
- public static DanceData GetDanceData(int id)
- {
- DanceSelect.CreateDanceData();
- foreach (DanceData danceData in DanceSelect.dance_data_list_)
- {
- if (danceData.ID == id)
- {
- return danceData;
- }
- }
- return null;
- }
- public static List<Maid> SelectedMaid
- {
- get
- {
- return DanceSelect.m_SelectedMaid;
- }
- }
- public static Maid SelectTopMaid { get; private set; }
- private bool m_AllRelease
- {
- get
- {
- return false;
- }
- set
- {
- DanceSetting.Settings.AllRelease = false;
- }
- }
- public static float kFadeTime = 0.3f;
- public static List<DanceData> dance_data_list_;
- private const int m_SongSelectMax = 2;
- private const string m_NMFtitle = "Night Magic Fire";
- private const string m_ETYLtitle = "entrance to you";
- private const string m_TutorialName = "SceneDanceSelect";
- public DanceSelect.SelectPanelSet CharaSelectPanel;
- public DanceSelect.SelectPanelSet MusicSelectPanel;
- public UIButton OkButton;
- public UIButton CancelButton;
- private UIPanel m_MainButtonPanel;
- private bool m_MainButtonFade;
- [SerializeField]
- [Header("背景名")]
- private string m_BGName = "LiveStage";
- [SerializeField]
- [Header("BGM名")]
- private string m_BGM = "BGM020.ogg";
- [SerializeField]
- private Vector3 m_CamPos = new Vector3(0.03458221f, 0.4823192f, 0.1880018f);
- [SerializeField]
- private float m_CamDistance = 7.199994f;
- [SerializeField]
- private Vector2 m_CamAngle = new Vector2(180.2993f, 21.18012f);
- [SerializeField]
- [Header("右下のOKボタン")]
- private UIButton m_SubOkButton;
- [SerializeField]
- [Header("右下のCancelボタン")]
- private UIButton m_SubCancelButton;
- [SerializeField]
- [Header("Backボタン")]
- private UIButton m_BackButton;
- [SerializeField]
- [Header("ダンスモード設定パネル")]
- private UIPanel m_DanceModePanel;
- [SerializeField]
- [Header("人数不足警告テキスト")]
- private GameObject m_WarningText;
- private Dictionary<UIButton, UILabel> m_DanceModeButtonGroup = new Dictionary<UIButton, UILabel>();
- [SerializeField]
- [Header("チャレンジ時の楽曲情報UIパネル")]
- private GameObject m_DanceShowPanel;
- [SerializeField]
- [Header("ダンス設定UI")]
- private DanceSetting m_SettingObj;
- [SerializeField]
- [Header("曲全解放ボタン")]
- private UIButton m_ReleaseButton;
- [SerializeField]
- private Color m_ReleaseOnCol;
- [SerializeField]
- private Color m_ReleaseOffCol;
- [SerializeField]
- [Header("全曲解放ボタンを表示する際のショートカットキー")]
- private List<KeyCode> m_ReleseShowKey = new List<KeyCode>
- {
- KeyCode.D,
- KeyCode.N,
- KeyCode.C
- };
- private UILabel m_CharaSelectLabel;
- private List<UIWFSelectButton> m_NotSelectDance = new List<UIWFSelectButton>();
- private Dictionary<DanceData, UIWFTabButton> m_SongPlatelUIPair = new Dictionary<DanceData, UIWFTabButton>();
- private static List<DanceData> m_SelectedDance = new List<DanceData>();
- private static List<Maid> m_SelectedMaid = new List<Maid>();
- private static DanceData m_ChallengeDanceData = null;
- public static int ChallengeDay = 0;
- private bool m_ForceTheater;
- private bool m_ExistOnlyRelease;
- private int m_OnlyRelease = -1;
- private DanceSelectMusicInfo music_info_;
- private DanceSelect.SelectPanelSet[] select_panelset_array_;
- private CharacterSelectManager chara_select_mgr_;
- private DanceSelect.Status status_;
- private string cancel_call_label_;
- private FFNameDialog ovr_dance_cam_dlg_;
- [Serializable]
- public class SelectPanelSet
- {
- public UIGrid ContentsGrid
- {
- get
- {
- if (!this.m_ContentsGrid)
- {
- this.m_ContentsGrid = this.ContentsPanel.GetComponentInChildren<UIGrid>();
- }
- return this.m_ContentsGrid;
- }
- }
- public UIPanel ParentPanel;
- public UIPanel ContentsPanel;
- private UIGrid m_ContentsGrid;
- }
- private enum Status
- {
- MusicSelect,
- CaharaSelect,
- DanceModeSelect
- }
- }
|