public bool StartGuide(string Guidestring, Button button) { if (!IsNeedGuide()) { return(false); } if (!IsInit) { m_GuideferbsString = string.Format("OptionalGuide{0}", Guidestring); IsInit = true; IsGuideOver = PlayerPrefs.GetInt(m_GuideferbsString, 0) == 1; StartVector3 = m_GuideHand.transform.position; if (IsGuideOver) { return(false); } } // Log.e("¿ªÊ¼ÈõÒýµ¼" + m_GuideferbsString); gameObject.SetActive(true); m_GuideStr = Guidestring; m_TargetBtn = button; m_Tweener = m_GuideHand.transform.DOMove(m_GuideTarget.transform.position, 0.7f).SetLoops(-1, LoopType.Yoyo); m_GuideText.text = TDLanguageTable.Get(Guidestring); m_TargetBtn.onClick.AddListener(ClickBtnCallBack); return(true); }
private void ShowBackKeydownTips() { //WeGameSdkAdapter.S.ExitGame(null); if (PlayerPrefs.GetInt("channel_exit_key", 0) == 1) { FloatMessage.S.ShowMsg(TDLanguageTable.Get("Press Again to Quit")); } }
public static string TurnLineFromLanguageTable(string origin) { if (string.IsNullOrEmpty(origin)) { return(""); } string result = TDLanguageTable.Get(origin).Replace("~", "\n"); return(result); }
/// <summary> /// 判断广告是否准备好 /// </summary> public bool AdsIsReadyByName() { bool isAdReady = CheckAdsIsReady(); if (!isAdReady) { FloatMessage.S.ShowMsg(TDLanguageTable.Get("NoAdWarning")); } return(isAdReady); }
protected override void InitPreLoadTableMetaData() { TableConfig.preLoadTableArray = new TDTableMetaData[] { // Default table TDConstTable.metaData, TDLanguageTable.GetLanguageMetaData(), TDGuideTable.metaData, TDGuideStepTable.metaData, }; //TableConfig.preLoadTableArray = CreditMgr.S.CombineMetaData(TableConfig.preLoadTableArray); }
protected override void OnPanelOpen(params object[] args) { base.OnPanelOpen(args); if (args != null) { m_DisText.text = TDLanguageTable.Get((string)args[1]); if (bool.Parse((string)args[0])) { //OpenDependPanel(EngineUI.MaskPanel,-1); } } //m_Body.DOLocalMoveX(-144, 0.3f); }
protected override void InitPreLoadTableMetaData() { TableConfig.preLoadTableArray = new TDTableMetaData[] { // Default table TDConstTable.metaData, TDLanguageTable.GetLanguageMetaData(), TDGuideTable.metaData, TDGuideStepTable.metaData, TDSocialAdapterTable.metaData, TDAdConfigTable.metaData, TDAdPlacementTable.metaData, TDAppConfigTable.metaData, TDRemoteConfigTable.metaData, TDPurchaseTable.metaData, // Game play table }; }
private void ShowBackKeydownTips() { FloatMessage.S.ShowMsg(TDLanguageTable.Get("Press Again to Quit")); }