fix:1、添加多语言的json文件,修复bug
This commit is contained in:
@@ -19,8 +19,10 @@ public class LoveLegendRoot : MonoBehaviour
|
||||
OnLauncher();
|
||||
TrackKit.TrackLoginFunnel(LoginFunnelEventType.Bootstrap);
|
||||
|
||||
#if !GAME_RELEASE
|
||||
BuildGMTool();
|
||||
NetGmTool.Instance.Init();
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void OnLauncher()
|
||||
@@ -90,18 +92,11 @@ public class LoveLegendRoot : MonoBehaviour
|
||||
{
|
||||
// ErrorLogKit.Send("error", "客户端日志上传", "GM工具点击测试",SuperApplication.Instance.attribution);
|
||||
|
||||
}));
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Button,
|
||||
() => "广告ID信息打印",
|
||||
s =>
|
||||
{
|
||||
// adInfoLabel += $"Max token: {MaxADKit.SDKKey} \n 激励广告Id: {MaxADKit.rewardedADUnitID} \n 插屏广告Id: {MaxADKit.interstitialADUnitID} \n";
|
||||
|
||||
}));
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Button, () => "关卡+1",
|
||||
s =>
|
||||
{
|
||||
DataMgr.GameLevel.Value = DataMgr.GameLevel.Value + 1;
|
||||
DataMgr.GameLevel.Value += 1;
|
||||
}));
|
||||
// 输入设置等级
|
||||
GMTool.Instance.AddItem(new GMToolItem(
|
||||
@@ -123,9 +118,6 @@ public class LoveLegendRoot : MonoBehaviour
|
||||
}
|
||||
}
|
||||
));
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Label, () => $"{DataMgr.Ticket} 类型测试"));
|
||||
// 来显示 adInfoLabel 的内容
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Label, () => adInfoLabel));
|
||||
GMTool.Instance.AddItem(new GMToolItem(
|
||||
GUIType.InputField,
|
||||
() => "设置等级",
|
||||
@@ -145,6 +137,15 @@ public class LoveLegendRoot : MonoBehaviour
|
||||
}
|
||||
}
|
||||
));
|
||||
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Button,
|
||||
() => "打开 跳过广告",
|
||||
s =>
|
||||
{
|
||||
adInfoLabel += "跳过广告开关, 已打开";
|
||||
MaxADKit.IsOpenAd = true;
|
||||
}));
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Label, () => $"{DataMgr.Ticket} 类型测试"));
|
||||
// 来显示 adInfoLabel 的内容
|
||||
GMTool.Instance.AddItem(new GMToolItem(GUIType.Label, () => adInfoLabel));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user