fix :1、先删除H5代码
This commit is contained in:
@@ -6,14 +6,13 @@ using SGModule.MarkdownKit;
|
||||
using SGModule.Net;
|
||||
using SGModule.NetKit;
|
||||
using UnityEngine;
|
||||
using UNSDK;
|
||||
|
||||
|
||||
public class ChillConnectRoot : MonoBehaviour
|
||||
{
|
||||
public void Awake()
|
||||
{
|
||||
#if UNITY_EDITOR || GAME_RELEASE || GAME_RELEASE1
|
||||
#if UNITY_EDITOR || GAME_RELEASE
|
||||
GameObject ingameDebugConsole = GameObject.Find("IngameDebugConsole");
|
||||
if (ingameDebugConsole != null) ingameDebugConsole.SetActive(false);
|
||||
#endif
|
||||
|
||||
@@ -120,7 +120,7 @@ namespace ChillConnect
|
||||
{
|
||||
ui.btn_watch.enabled = true;
|
||||
btnWatch.can.selectedIndex = 0;
|
||||
btnWatch.text.text = "Use Item";
|
||||
btnWatch.text.text = Language.GetContent("use_item");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ using FGUI.ZM_H5_15;
|
||||
using IgnoreOPS;
|
||||
using SGModule.NetKit;
|
||||
using UnityEngine;
|
||||
using UNSDK;
|
||||
|
||||
namespace ChillConnect
|
||||
{
|
||||
@@ -40,7 +39,6 @@ namespace ChillConnect
|
||||
|
||||
protected override void OnClose()
|
||||
{
|
||||
SdkConfigMgr.Instance.Close();
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.StopArrowTouch, true);
|
||||
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.showBroadCast);
|
||||
|
||||
@@ -158,7 +158,7 @@ namespace ChillConnect
|
||||
private void InitView()
|
||||
{
|
||||
Makeup_2 makeupVo = ConfigSystem.GetConfig<MakeupModel_2>().GetData(makeupTaskData.tableId);
|
||||
ui.text_ad.text = string.Format(GameHelper.getDesByKey("saving_pot_5"), makeupVo.ADIncrease);
|
||||
ui.text_ad.text = string.Format(GameHelper.getDesByKey("saving_pot_5"), makeupVo.ADIncrease * GameHelper.GetExchangeRateVo().Multi);
|
||||
string str = string.Format(GameHelper.getDesByKey("saving_pot_2"), makeupVo.PayIncrease);
|
||||
ui.text_pay.text = str;
|
||||
initTop();
|
||||
|
||||
@@ -172,6 +172,8 @@ public class SaveingPotHelper
|
||||
}
|
||||
public static string getChNumber(float cash)
|
||||
{
|
||||
var exchangeRateVo = GameHelper.GetExchangeRateVo();
|
||||
cash = exchangeRateVo.Multi * cash;
|
||||
return $"{cash:N}";
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public static class Language
|
||||
lang = "ru";
|
||||
}
|
||||
// }
|
||||
// lang = "pt";
|
||||
lang = "de";
|
||||
setCurrentLanguage(lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace ChillConnect
|
||||
{
|
||||
onVideoAdCompleted = onCompleted;
|
||||
_placement = placement;
|
||||
#if UNITY_EDITOR
|
||||
#if UNITY_EDITOR || GAME_RELEASE1
|
||||
onVideoAdCompleted?.Invoke(true);
|
||||
#else
|
||||
TrackKit.SendEvent(Property.adEvent,Property.watch_ad_people);
|
||||
|
||||
Reference in New Issue
Block a user