SystemShortcut.cs 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5. public class SystemShortcut : MonoBehaviour
  6. {
  7. private void Awake()
  8. {
  9. this.m_uiCam = base.gameObject.transform.parent.Find("Camera").GetComponent<Camera>();
  10. this.m_uiPanel = base.gameObject.GetComponent<UIPanel>();
  11. this.m_goBase = UTY.GetChildObject(base.gameObject, "Base", false);
  12. this.m_uiBase = this.m_goBase.GetComponent<UISprite>();
  13. this.m_hitArea = this.m_goBase.GetComponent<BoxCollider>();
  14. this.m_goBaseVR = UTY.GetChildObject(base.gameObject, "BaseVR", false);
  15. this.m_uiBaseVR = this.m_goBaseVR.GetComponent<UISprite>();
  16. this.m_goBaseVR.SetActive(false);
  17. this.m_goGear = UTY.GetChildObject(base.gameObject, "Gear", false);
  18. this.m_uiGear = this.m_goGear.GetComponent<UIButton>();
  19. EventDelegate.Add(this.m_uiGear.onClick, new EventDelegate.Callback(this.OnClick_Gear));
  20. this.m_aryDgOnClick[0] = new EventDelegate(new EventDelegate.Callback(this.OnClick_Config));
  21. this.m_aryDgOnClick[1] = new EventDelegate(new EventDelegate.Callback(this.OnClick_Exit));
  22. this.m_aryDgOnClick[2] = new EventDelegate(new EventDelegate.Callback(this.OnClick_Info));
  23. this.m_aryDgOnClick[3] = new EventDelegate(new EventDelegate.Callback(this.OnClick_Ss));
  24. this.m_aryDgOnClick[4] = new EventDelegate(new EventDelegate.Callback(this.OnClick_SsUi));
  25. this.m_aryDgOnClick[5] = new EventDelegate(new EventDelegate.Callback(this.OnClick_ToTitle));
  26. this.m_aryDgOnClick[6] = new EventDelegate(new EventDelegate.Callback(this.OnClick_Shop));
  27. this.m_aryDgOnClick[7] = new EventDelegate(new EventDelegate.Callback(this.OnClick_VRCommHome));
  28. this.m_aryDgOnClick[8] = new EventDelegate(new EventDelegate.Callback(this.OnClick_VRHelp));
  29. this.m_aryDgOnClick[9] = new EventDelegate(new EventDelegate.Callback(this.OnClick_Help));
  30. this.m_aryDgOnClick[10] = new EventDelegate(new EventDelegate.Callback(this.OnClick_VRAvatar));
  31. Dictionary<int, string> dictionary = new Dictionary<int, string>();
  32. dictionary.Add(0, "コンフィグ");
  33. dictionary.Add(3, "UI無し スクリーンショット(Alt+PrtScr)");
  34. dictionary.Add(4, "UI有り スクリーンショット(Shift+PrtScr)");
  35. dictionary.Add(6, "ショップ");
  36. dictionary.Add(5, "タイトルへ");
  37. dictionary.Add(2, "ゲーム情報");
  38. dictionary.Add(1, "終了");
  39. dictionary.Add(7, "エンパイアクラブに帰る");
  40. dictionary.Add(8, "VRヘルプ");
  41. dictionary.Add(9, "シーンのヘルプ");
  42. dictionary.Add(10, "バーチャル アバター スタジオ");
  43. for (int i = 0; i < this.m_aryObjPath.Length; i++)
  44. {
  45. this.m_goBtn[i] = UTY.GetChildObject(base.gameObject, this.m_aryObjPath[i], false);
  46. this.m_uiBtn[i] = this.m_goBtn[i].GetComponent<UIButton>();
  47. EventDelegate.Add(this.m_uiBtn[i].onClick, this.m_aryDgOnClick[i]);
  48. if (dictionary.ContainsKey(i))
  49. {
  50. UIEventTrigger component = this.m_goBtn[i].GetComponent<UIEventTrigger>();
  51. string text = dictionary[i];
  52. EventDelegate.Add(component.onHoverOver, delegate
  53. {
  54. this.VisibleExplanation(text, true);
  55. });
  56. EventDelegate.Add(component.onHoverOut, delegate
  57. {
  58. this.VisibleExplanation(text, false);
  59. });
  60. EventDelegate.Add(component.onDragStart, delegate
  61. {
  62. this.VisibleExplanation(text, false);
  63. });
  64. }
  65. }
  66. UIWidget uiBaseVR = this.m_uiBaseVR;
  67. Color color = new Color(1f, 1f, 1f, 0f);
  68. this.m_uiBase.color = color;
  69. uiBaseVR.color = color;
  70. this.m_uiGear.defaultColor = new Color(1f, 1f, 1f, 0.3f);
  71. this.m_spriteExplanation = UTY.GetChildObject(base.gameObject, "Explanation", false).GetComponent<UISprite>();
  72. this.m_labelExplanation = UTY.GetChildObject(this.m_spriteExplanation.gameObject, "Value", false).GetComponent<UILabel>();
  73. this.m_spriteExplanation.gameObject.SetActive(false);
  74. this.dicBGSizeType.Add(SystemShortcut.BGSizeType.Long, 380);
  75. this.dicBGSizeType.Add(SystemShortcut.BGSizeType.Short, 340);
  76. int width;
  77. if (GameMain.Instance.CMSystem.NetUse)
  78. {
  79. width = this.dicBGSizeType[SystemShortcut.BGSizeType.Long];
  80. }
  81. else
  82. {
  83. width = this.dicBGSizeType[SystemShortcut.BGSizeType.Short];
  84. GameObject childObject = UTY.GetChildObject(base.gameObject, this.m_aryObjPath[6], false);
  85. childObject.SetActive(false);
  86. }
  87. this.m_uiBase.width = width;
  88. Vector2 vector = new Vector2(700f, 110f);
  89. this.m_hitArea.size = new Vector3((float)this.m_uiBase.width + vector.x, (float)this.m_uiBase.height + vector.y, 0f);
  90. Vector3 center = this.m_uiBase.GetComponent<BoxCollider>().center;
  91. center.x += vector.x / 2f;
  92. center.y -= 50f;
  93. this.m_hitArea.center = center;
  94. UTY.GetChildObject(this.m_goBase, "Grid", false).GetComponent<UIGrid>().repositionNow = true;
  95. SceneManager.activeSceneChanged += this.OnActiveSceneChanged;
  96. SceneManager.sceneUnloaded += this.OnSceneUnloaded;
  97. }
  98. private void OnClick_Gear()
  99. {
  100. if (this.m_bEnableBase)
  101. {
  102. this.BaseClose();
  103. }
  104. else if (!this.m_bEnableBase)
  105. {
  106. this.BaseOpen();
  107. }
  108. }
  109. private void BaseClose()
  110. {
  111. if (this.m_bEnableBase)
  112. {
  113. this.m_bEnableBase = false;
  114. iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
  115. {
  116. "from",
  117. this.m_uiBase.color.a,
  118. "to",
  119. 0f,
  120. "time",
  121. 0.25f,
  122. "onUpdate",
  123. "UpdateBase"
  124. }));
  125. this.m_uiGear.defaultColor = new Color(1f, 1f, 1f, 0.3f);
  126. }
  127. }
  128. private void BaseOpen()
  129. {
  130. if (!this.m_bEnableBase)
  131. {
  132. this.m_bEnableBase = true;
  133. iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
  134. {
  135. "from",
  136. this.m_uiBase.color.a,
  137. "to",
  138. 1f,
  139. "time",
  140. 0.25f,
  141. "onUpdate",
  142. "UpdateBase"
  143. }));
  144. this.m_uiGear.defaultColor = new Color(1f, 1f, 1f, 1f);
  145. }
  146. }
  147. private void UpdateBase(float f_fValue)
  148. {
  149. UIWidget uiBaseVR = this.m_uiBaseVR;
  150. Color color = new Color(1f, 1f, 1f, f_fValue);
  151. this.m_uiBase.color = color;
  152. uiBaseVR.color = color;
  153. }
  154. private void PanelClose()
  155. {
  156. if (this.m_bEnablePanel)
  157. {
  158. this.m_bEnablePanel = false;
  159. iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
  160. {
  161. "from",
  162. this.m_uiPanel.alpha,
  163. "to",
  164. 0f,
  165. "time",
  166. 0.25f,
  167. "onUpdate",
  168. "UpdatePanel"
  169. }));
  170. }
  171. }
  172. private void PanelOpen()
  173. {
  174. if (!this.m_bEnablePanel)
  175. {
  176. this.m_bEnablePanel = true;
  177. iTween.ValueTo(base.gameObject, iTween.Hash(new object[]
  178. {
  179. "from",
  180. this.m_uiPanel.alpha,
  181. "to",
  182. 1f,
  183. "time",
  184. 0.25f,
  185. "onUpdate",
  186. "UpdatePanel"
  187. }));
  188. }
  189. }
  190. private void UpdatePanel(float f_fValue)
  191. {
  192. this.m_uiPanel.alpha = f_fValue;
  193. }
  194. private void OnClick_Config()
  195. {
  196. if (!this.m_bEnablePanel || BaseMgr<ConfigMgr>.Instance.IsOpenConfigPanel())
  197. {
  198. return;
  199. }
  200. BaseMgr<ConfigMgr>.Instance.OpenConfigPanel();
  201. if (ConfigVRCtrl.IsOpen())
  202. {
  203. ConfigVRCtrl.Close(true);
  204. }
  205. this.BaseClose();
  206. }
  207. private void OnClick_Exit()
  208. {
  209. if (!this.m_bEnablePanel)
  210. {
  211. return;
  212. }
  213. GameMain.Instance.SysDlg.Show("終了しますか?", SystemDialog.TYPE.OK_CANCEL, new SystemDialog.OnClick(this.OnToEnd), new SystemDialog.OnClick(this.OnCancel));
  214. this.BaseClose();
  215. }
  216. private void OnClick_Info()
  217. {
  218. if (!this.m_bEnablePanel)
  219. {
  220. return;
  221. }
  222. string text = "カスタムオーダーメイド3D 2";
  223. string text2 = "カスタムメイド3D 2";
  224. string text3 = string.Concat(new string[]
  225. {
  226. text,
  227. "\nVersion ",
  228. GameUty.GetGameVersionText(),
  229. " (BuildVersion : ",
  230. GameUty.GetBuildVersionText(),
  231. ")"
  232. });
  233. if (!string.IsNullOrEmpty(GameMain.Instance.CMSystem.CM3D2Path))
  234. {
  235. string text4 = text3;
  236. text3 = string.Concat(new string[]
  237. {
  238. text4,
  239. "\n",
  240. text2,
  241. "\nVersion ",
  242. GameUty.GetLegacyGameVersionText()
  243. });
  244. }
  245. GameMain.Instance.SysDlg.Show(text3, SystemDialog.TYPE.OK, new SystemDialog.OnClick(this.OnCancel), null);
  246. this.BaseClose();
  247. }
  248. private void OnClick_Ss()
  249. {
  250. GameMain.Instance.MainCamera.ScreenShot(true);
  251. }
  252. private void OnClick_SsUi()
  253. {
  254. this.VisibleExplanation(string.Empty, false);
  255. GameMain.Instance.MainCamera.ScreenShot(false);
  256. }
  257. private void OnClick_ToTitle()
  258. {
  259. if (!this.m_bEnablePanel)
  260. {
  261. return;
  262. }
  263. if (Application.loadedLevelName != "SceneTitle")
  264. {
  265. GameMain.Instance.SysDlg.Show("タイトルに戻りますか?", SystemDialog.TYPE.OK_CANCEL, new SystemDialog.OnClick(this.OnToTitle), new SystemDialog.OnClick(this.OnCancel));
  266. }
  267. else
  268. {
  269. GameMain.Instance.SysDlg.Show("現在タイトルに戻れません。", SystemDialog.TYPE.OK, new SystemDialog.OnClick(this.OnCancel), null);
  270. }
  271. this.BaseClose();
  272. }
  273. private void OnClick_Shop()
  274. {
  275. Application.OpenURL(GameMain.Instance.CMSystem.ShopURL);
  276. }
  277. private void OnClick_VRCommHome()
  278. {
  279. GameMain.Instance.SysDlg.Show("エンパイアクラブに帰りますか?", SystemDialog.TYPE.OK_CANCEL, new SystemDialog.OnClick(this.OnToHome), new SystemDialog.OnClick(this.OnCancel));
  280. this.BaseClose();
  281. }
  282. private void OnToHome()
  283. {
  284. }
  285. private void OnClick_VRHelp()
  286. {
  287. }
  288. private void OnClick_Help()
  289. {
  290. if (!this.m_bEnablePanel)
  291. {
  292. return;
  293. }
  294. if (uGUITutorialPanel.IsOpened())
  295. {
  296. return;
  297. }
  298. string text = this.strSceneHelpName;
  299. if (string.IsNullOrEmpty(text))
  300. {
  301. text = GameMain.Instance.GetNowSceneName();
  302. if (string.IsNullOrEmpty(text))
  303. {
  304. text = SceneManager.GetActiveScene().name;
  305. }
  306. }
  307. if (uGUITutorialPanel.IsExistTutorial(text))
  308. {
  309. uGUITutorialPanel.OpenTutorial(text, null, true);
  310. }
  311. else
  312. {
  313. NDebug.Warning(string.Format("シーン名「{0}」のチュートリアルは存在しません", text));
  314. }
  315. this.BaseClose();
  316. }
  317. private void OnClick_VRAvatar()
  318. {
  319. ControllerShortcutWindow controllerShortcutWindow = OvrIK.CreateUI();
  320. controllerShortcutWindow.Open();
  321. this.BaseClose();
  322. }
  323. private void OnClick_VRConfig()
  324. {
  325. if (!this.m_bEnablePanel)
  326. {
  327. return;
  328. }
  329. if (ConfigVRCtrl.IsOpen())
  330. {
  331. return;
  332. }
  333. ConfigVRCtrl.Open(null);
  334. if (BaseMgr<ConfigMgr>.Instance.IsOpenConfigPanel())
  335. {
  336. BaseMgr<ConfigMgr>.Instance.CloseConfigPanel();
  337. }
  338. this.BaseClose();
  339. }
  340. private void OnToEnd()
  341. {
  342. GameMain.Instance.ToApplicationQuit(true);
  343. }
  344. private void OnToTitle()
  345. {
  346. GameMain.Instance.SysDlg.Close();
  347. GameMain.Instance.LoadScene("SceneToTitle");
  348. GameMain.Instance.MainCamera.FadeOut(0f, false, null, true, default(Color));
  349. }
  350. private void OnCancel()
  351. {
  352. GameMain.Instance.SysDlg.Close();
  353. }
  354. private void Start()
  355. {
  356. this.m_sys = GameMain.Instance.CMSystem;
  357. this.m_bEnablePanel = (this.m_bAlways = this.m_sys.SysButtonShowAlways);
  358. if (this.m_bAlways)
  359. {
  360. this.m_uiPanel.alpha = 1f;
  361. }
  362. else
  363. {
  364. this.m_uiPanel.alpha = 0f;
  365. }
  366. this.SetVRAvatarButtonInteractable();
  367. }
  368. private void Update()
  369. {
  370. if (this.m_sys.SysButtonShowAlways != this.m_bAlways)
  371. {
  372. if (this.m_sys.SysButtonShowAlways)
  373. {
  374. this.m_uiPanel.alpha = 1f;
  375. this.PanelOpen();
  376. }
  377. else
  378. {
  379. this.PanelClose();
  380. }
  381. this.m_bAlways = this.m_sys.SysButtonShowAlways;
  382. }
  383. if (!this.m_bAlways)
  384. {
  385. if (!GameMain.Instance.VRMode)
  386. {
  387. Ray ray = this.m_uiCam.ScreenPointToRay(Input.mousePosition);
  388. RaycastHit raycastHit = default(RaycastHit);
  389. if (this.m_hitArea.Raycast(ray, out raycastHit, 3.40282347E+38f))
  390. {
  391. if (!this.m_bEnablePanel)
  392. {
  393. this.PanelOpen();
  394. }
  395. }
  396. else if (this.m_bEnablePanel)
  397. {
  398. this.PanelClose();
  399. }
  400. }
  401. else
  402. {
  403. Vector3 ovrVirtualMousePos = GameMain.Instance.OvrMgr.SystemUICamera.GetOvrVirtualMousePos(true);
  404. Vector3 ovrVirtualMousePos2 = GameMain.Instance.OvrMgr.SystemUICamera.GetOvrVirtualMousePos(false);
  405. Ray ray2 = this.m_uiCam.ScreenPointToRay(ovrVirtualMousePos);
  406. Ray ray3 = this.m_uiCam.ScreenPointToRay(ovrVirtualMousePos2);
  407. RaycastHit raycastHit2 = default(RaycastHit);
  408. if (this.m_hitArea.Raycast(ray2, out raycastHit2, 3.40282347E+38f) || this.m_hitArea.Raycast(ray3, out raycastHit2, 3.40282347E+38f))
  409. {
  410. if (!this.m_bEnablePanel)
  411. {
  412. this.PanelOpen();
  413. }
  414. }
  415. else if (this.m_bEnablePanel)
  416. {
  417. this.PanelClose();
  418. }
  419. }
  420. }
  421. }
  422. public void VisibleExplanation(string text, bool visible)
  423. {
  424. if (visible)
  425. {
  426. this.m_labelExplanation.text = text;
  427. this.m_labelExplanation.width = 0;
  428. this.m_labelExplanation.MakePixelPerfect();
  429. UISprite component = this.m_spriteExplanation.GetComponent<UISprite>();
  430. component.width = this.m_labelExplanation.width + 15;
  431. }
  432. this.m_spriteExplanation.gameObject.SetActive(visible);
  433. }
  434. private void OnActiveSceneChanged(Scene beforeScene, Scene activeScene)
  435. {
  436. this.SetHelpButtonInteractable();
  437. uGUITutorialPanel.CloseTutorial(true, false);
  438. this.SetVRAvatarButtonInteractable();
  439. }
  440. private void OnSceneUnloaded(Scene unloadedScene)
  441. {
  442. this.strSceneHelpName = string.Empty;
  443. }
  444. public string strSceneHelpName
  445. {
  446. get
  447. {
  448. return this.m_strSceneHelpName;
  449. }
  450. set
  451. {
  452. if (string.IsNullOrEmpty(value))
  453. {
  454. this.m_strSceneHelpName = string.Empty;
  455. this.SetHelpButtonInteractable();
  456. return;
  457. }
  458. if (!uGUITutorialPanel.IsExistTutorial(value))
  459. {
  460. this.m_strSceneHelpName = string.Empty;
  461. this.SetHelpButtonInteractable();
  462. NDebug.Warning(string.Format("チュートリアル「{0}」は存在しないので、\nシーン名を利用します。", value));
  463. return;
  464. }
  465. this.m_strSceneHelpName = value;
  466. this.SetHelpButtonInteractable();
  467. }
  468. }
  469. private void SetHelpButtonInteractable()
  470. {
  471. GameObject childObject = UTY.GetChildObject(base.gameObject, this.m_aryObjPath[9], false);
  472. NDebug.Assert(childObject != null, "ヘルプ用ボタンの取得に失敗しました。");
  473. UIButton component = childObject.GetComponent<UIButton>();
  474. string text = this.strSceneHelpName;
  475. if (string.IsNullOrEmpty(text))
  476. {
  477. text = GameMain.Instance.GetNowSceneName();
  478. if (string.IsNullOrEmpty(text))
  479. {
  480. text = SceneManager.GetActiveScene().name;
  481. }
  482. }
  483. if (uGUITutorialPanel.IsExistTutorial(text))
  484. {
  485. component.isEnabled = true;
  486. }
  487. else
  488. {
  489. component.isEnabled = false;
  490. }
  491. }
  492. public bool helpButtonInteractable
  493. {
  494. get
  495. {
  496. GameObject childObject = UTY.GetChildObject(base.gameObject, this.m_aryObjPath[9], false);
  497. NDebug.Assert(childObject != null, "ヘルプ用ボタンの取得に失敗しました。");
  498. UIButton component = childObject.GetComponent<UIButton>();
  499. return component.isEnabled;
  500. }
  501. set
  502. {
  503. GameObject childObject = UTY.GetChildObject(base.gameObject, this.m_aryObjPath[9], false);
  504. NDebug.Assert(childObject != null, "ヘルプ用ボタンの取得に失敗しました。");
  505. UIButton component = childObject.GetComponent<UIButton>();
  506. component.isEnabled = value;
  507. }
  508. }
  509. private void SetVRAvatarButtonInteractable()
  510. {
  511. GameObject childObject = UTY.GetChildObject(base.gameObject, this.m_aryObjPath[10], false);
  512. NDebug.Assert(childObject != null, "VRアバターボタンの取得に失敗しました。");
  513. if (GameMain.Instance == null)
  514. {
  515. return;
  516. }
  517. GameMain.VRDeviceType vrdeviceTypeID = GameMain.Instance.VRDeviceTypeID;
  518. if (vrdeviceTypeID != GameMain.VRDeviceType.VIVE && vrdeviceTypeID != GameMain.VRDeviceType.RIFT_TOUCH)
  519. {
  520. childObject.SetActive(false);
  521. return;
  522. }
  523. string nowSceneName = GameMain.Instance.GetNowSceneName();
  524. if (string.IsNullOrEmpty(nowSceneName) || GameMain.Instance.CMSystem.SConfig.OvrIkAllSceneEnable || nowSceneName == "SceneEdit" || nowSceneName == "ScenePhotoMode" || nowSceneName.IndexOf("SceneDance_") == 0)
  525. {
  526. childObject.SetActive(true);
  527. }
  528. else
  529. {
  530. childObject.SetActive(false);
  531. }
  532. }
  533. private string[] m_aryObjPath = new string[]
  534. {
  535. "Base/Grid/Config",
  536. "Base/Grid/Exit",
  537. "Base/Grid/Info",
  538. "Base/Grid/Ss",
  539. "Base/Grid/SsUi",
  540. "Base/Grid/ToTitle",
  541. "Base/Grid/Shop",
  542. "BaseVR/Grid/VRCommHome",
  543. "BaseVR/Grid/VRHelp",
  544. "Base/Grid/Help",
  545. "Base/VR Avatar"
  546. };
  547. private UIPanel m_uiPanel;
  548. private BoxCollider m_hitArea;
  549. private GameObject m_goBase;
  550. private UISprite m_uiBase;
  551. private GameObject m_goBaseVR;
  552. private UISprite m_uiBaseVR;
  553. private GameObject m_goGear;
  554. private UIButton m_uiGear;
  555. private GameObject[] m_goBtn = new GameObject[11];
  556. private UIButton[] m_uiBtn = new UIButton[11];
  557. private Camera m_uiCam;
  558. private UISprite m_spriteExplanation;
  559. private UILabel m_labelExplanation;
  560. private bool m_bEnablePanel;
  561. private bool m_bEnableBase;
  562. private Dictionary<SystemShortcut.BGSizeType, int> dicBGSizeType = new Dictionary<SystemShortcut.BGSizeType, int>();
  563. private EventDelegate[] m_aryDgOnClick = new EventDelegate[11];
  564. private bool m_bAlways = true;
  565. private CMSystem m_sys;
  566. private string m_strSceneHelpName = string.Empty;
  567. private enum Btn
  568. {
  569. Config,
  570. Exit,
  571. Info,
  572. Ss,
  573. SsUi,
  574. ToTitle,
  575. Shop,
  576. VRCommHome,
  577. VRHelp,
  578. Help,
  579. VRAvatar,
  580. Max
  581. }
  582. private enum BGSizeType
  583. {
  584. Long,
  585. Short
  586. }
  587. }