/// <summary> /// ムービー表示用初期化 /// </summary> /// <param name="captionKey"></param> /// <param name="type"></param> /// <param name="onSlectAction"></param> /// <returns></returns> public static OthersInfoListContext CreateMovieInfo(string captionKey, string movie_name, Action <OthersInfoListContext> onSlectAction) { OthersInfoListContext info = new OthersInfoListContext(); info.Type = InfoType.MOVIE; info.CaptionText = UnityUtil.GetText(captionKey); info.MovieName = movie_name; info.DidSelectItem = onSlectAction; return(info); }
/// <summary> /// 汎用ウィンドウ表示用初期化 /// </summary> /// <param name="captionKey"></param> /// <param name="group_id"></param> /// <param name="onSlectAction"></param> /// <returns></returns> public static OthersInfoListContext CreateGeneralWindowInfo(string captionKey, uint group_id, Action <OthersInfoListContext> onSlectAction) { OthersInfoListContext info = new OthersInfoListContext(); info.Type = InfoType.GENERAL_WINDOW; info.CaptionText = UnityUtil.GetText(captionKey); info.ID = group_id; info.DidSelectItem = onSlectAction; return(info); }
/// <summary> /// リンク表示用初期化 /// </summary> /// <param name="captionKey"></param> /// <param name="url"></param> /// <param name="onSlectAction"></param> /// <returns></returns> public static OthersInfoListContext CreateWebViewWithCaptionKey(string captionKey, string url, Action <OthersInfoListContext> onSlectAction) { OthersInfoListContext info = new OthersInfoListContext(); info.Type = InfoType.WEB_VIEW; info.CaptionText = UnityUtil.GetText(captionKey); info.URL = url; info.DidSelectItem = onSlectAction; return(info); }
/// <summary> /// 機能チュートリアル表示用初期化 /// </summary> /// <param name="captionKey"></param> /// <param name="type"></param> /// <param name="onSlectAction"></param> /// <returns></returns> public static OthersInfoListContext CreateTutorialDialog(string captionKey, TutorialDialog.FLAG_TYPE type, Action <OthersInfoListContext> onSlectAction) { OthersInfoListContext info = new OthersInfoListContext(); info.Type = InfoType.TUTORIAL_DIALOG; info.CaptionText = UnityUtil.GetText(captionKey); info.TutorialDialogType = type; info.DidSelectItem = onSlectAction; return(info); }
/// <summary> /// ダイアログ表示用初期化 /// </summary> /// <param name="strTitleKey"></param> /// <param name="strDetailKey"></param> /// <param name="onSlectAction"></param> public static OthersInfoListContext CreateScrollDialogInfo(string strTitleKey, string strDetailKey, Action <OthersInfoListContext> onSlectAction) { OthersInfoListContext info = new OthersInfoListContext(); info.Type = InfoType.SCROLL_DIALOG; info.HelpTitleKey = strTitleKey; info.HelpDetailKey = strDetailKey; info.DidSelectItem = onSlectAction; info.CaptionText = UnityUtil.GetText(strTitleKey); return(info); }
protected override void PageSwitchSetting(bool initalize) { base.PageSwitchSetting(initalize); m_OthersInfo = GetComponentInChildren <OthersInfo>(); m_OthersInfo.SetTopAndBottomAjustStatusBar(new Vector2(-8, -348)); m_OthersInfo.LabelText = GameTextUtil.GetText("he182p_title"); m_OthersInfo.Infos.Clear(); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateMovieInfo("he182p_button2", "OpeningMovie.mp4", null)); MainMenuManager.Instance.currentCategory = MAINMENU_CATEGORY.NONE; }
void CreateInfoList() { m_OthersInfo.Infos.Clear(); string info_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_INFORMATION); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he168p_button1", info_url, OnClickInfoListItem)); //string home_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_HP_DIVINE); //m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he168p_button2", home_url, OnClickInfoListItem)); string mr_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_MR_DIVINE); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he168p_button3", mr_url, OnClickInfoListItem)); }
public override void OnInitialized() { base.OnInitialized(); m_OthersInfo = GetComponentInChildren <OthersInfo>(); m_OthersInfo.Infos.Clear(); for (int i = 0; i < 20; i++) { OthersInfoListContext info = new OthersInfoListContext(); info.CaptionText = "お助け"; m_OthersInfo.Infos.Add(info); } }
void CreateInfoList() { m_OthersInfo.Infos.Clear(); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle1", Patcher.Instance.GetAgreementUrl(), null)); string kessai_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_SHIKIN_KESSAI); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle2", kessai_url, null)); string torihiki_url = MasterDataUtil.GetMasterDataGlobalParamTextFromID(GlobalDefine.WEB_LINK_TOKUTEI_TORIHIKI); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle3", torihiki_url, null)); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateWebViewWithCaptionKey("he172p_buttontitle4", Patcher.Instance.GetPolicyUrl(), null)); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateScrollDialogInfo("he172p_buttontitle5", "credit_text", null)); m_OthersInfo.Infos.Add(OthersInfoListContext.CreateScrollDialogInfo("he172p_buttontitle6", "license_text", null)); }
void OnClickInfoListItem(OthersInfoListContext item) { SoundUtil.PlaySE(SEID.SE_MENU_OK); URLManager.OpenURL(item.URL); }
void CreateInfoList() { m_OthersInfo.Infos.Clear(); // 基本ルール m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle1", TutorialDialog.FLAG_TYPE.HOW_TO_PLAY, null)); // ディバインゲート零とは m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle17", TutorialDialog.FLAG_TYPE.HOME_MENU, null)); // ホーム m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle18", TutorialDialog.FLAG_TYPE.BATTLE1, null)); // バトル1 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle19", TutorialDialog.FLAG_TYPE.BATTLE2, null)); // バトル2 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle20", TutorialDialog.FLAG_TYPE.BATTLE3, null)); // バトル3 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle21", TutorialDialog.FLAG_TYPE.BATTLE4, null)); // バトル4 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle5", TutorialDialog.FLAG_TYPE.UNIT_PARTY_SELECT, null)); // パーティー編成 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle3", TutorialDialog.FLAG_TYPE.UNIT_STATUS, null)); // ユニット m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle15", TutorialDialog.FLAG_TYPE.ELEMENT_DAMAGE, null)); // 属性相性 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle6", TutorialDialog.FLAG_TYPE.UNIT_PARTY_BUILDUP, null)); // 強化合成 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle14", TutorialDialog.FLAG_TYPE.UNIT_LIMIT_OVER, null)); // 限界突破とCHARM m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle7", TutorialDialog.FLAG_TYPE.UNIT_EVOLVE, null)); // ユニット進化 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle8", TutorialDialog.FLAG_TYPE.UNIT_LINK, null)); // リンク機能 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle9", TutorialDialog.FLAG_TYPE.UNIT_SALE, null)); // ユニット売却 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle2", TutorialDialog.FLAG_TYPE.UNIT_HERO, null)); // マスター m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle12", TutorialDialog.FLAG_TYPE.ACHIEVEMENT_GP_LIST, null)); // ミッション m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle11", TutorialDialog.FLAG_TYPE.EVENT_SCHEDULE_LIST, null)); // イベントスケジュール m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle10", TutorialDialog.FLAG_TYPE.GACHA, null)); // スクラッチ m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle13", TutorialDialog.FLAG_TYPE.FRIEND_LIST, null)); // フレンド m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle16", TutorialDialog.FLAG_TYPE.UNIT_CATALOG, null)); // 図鑑 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_button2title50", TutorialDialog.FLAG_TYPE.SCORE, null)); // スコア m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle22", TutorialDialog.FLAG_TYPE.CHALLENGE, null)); // 魔影回廊 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateTutorialDialog("he169p_buttontitle23", TutorialDialog.FLAG_TYPE.AUTO_PLAY, null)); // オートプレイ // 基本ルール m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title1", "he170q_content1", null)); // ログインボーナス m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title2", "he170q_content2", null)); // 友情ポイント m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title3", "he170q_content3", null)); // スキルレベルアップ m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title4", "he170q_content4", null)); // スキル確認方法 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title5", "he170q_content5", null)); // お気に入り登録 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title6", "he170q_content6", null)); // リーチライン m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title7", "he170q_content7", null)); // 制限時間 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title8", "he170q_content8", null)); // ユニットのHP m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title9", "he170q_content9", null)); // ターゲット m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title46", "he170q_content46", null)); // ノーマルスキル m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title47", "he170q_content47", null)); // アクティブスキル m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title48", "he170q_content48", null)); // リーダースキル m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title49", "he170q_content49", null)); // マスタースキル m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title10", "he170q_content10", null)); // BOOST m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title11", "he170q_content11", null)); // パッシブスキル m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title12", "he170q_content12", null)); // SP m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title13", "he170q_content13", null)); // ファーストアタック m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title14", "he170q_content14", null)); // バックアタック m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title15", "he170q_content15", null)); // クエストリタイア m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title16", "he170q_content16", null)); // ランクアップ m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title17", "he170q_content17", null)); // あなたのID m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title18", "he170q_content18", null)); // アプリの削除 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title19", "he170q_content19", null)); // 理力界 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title20", "he170q_content20", null)); // 魔力界 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title21", "he170q_content21", null)); // 共時世界 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title22", "he170q_content22", null)); // 蝕 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title23", "he170q_content23", null)); // 相克 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title24", "he170q_content24", null)); // 魔影蝕 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title25", "he170q_content25", null)); // 侵蝕 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title26", "he170q_content26", null)); // 侵蝕者 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title27", "he170q_content27", null)); // エクステ m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title28", "he170q_content28", null)); // エクステM m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title29", "he170q_content29", null)); // リボークモード m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title30", "he170q_content30", null)); // 超越理論 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title31", "he170q_content31", null)); // 大消失 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title32", "he170q_content32", null)); // 幻影界 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title33", "he170q_content33", null)); // 海守学院都市 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title34", "he170q_content34", null)); // 海守学院 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title35", "he170q_content35", null)); // 海守学院音楽研究会 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title36", "he170q_content36", null)); // 覚醒 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title37", "he170q_content37", null)); // 旅団 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title38", "he170q_content38", null)); // 魔震獣 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title39", "he170q_content39", null)); // エネミー m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title40", "he170q_content40", null)); // 魔影蝕発生装置 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title41", "he170q_content41", null)); // 疑似魔影蝕発生装置 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title42", "he170q_content42", null)); // マテリアルマップ m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title43", "he170q_content43", null)); // 招願 m_OthersInfo.Infos.Add(OthersInfoListContext.CreateDialogInfo("he169p_button2title44", "he170q_content44", null)); // 種族(加護) }