From 452c75675679c44cc39b04bdb7d330d7c5c14d5c Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Tue, 29 Dec 2020 10:48:06 +0800 Subject: [PATCH] 增加多SDK支持。常规使用SDKChannel.KTGM 偶哈游的是空SDK --- Assets/Scripts/Common/GameConfig.cs | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/Assets/Scripts/Common/GameConfig.cs b/Assets/Scripts/Common/GameConfig.cs index 3f912dd..f9e9443 100644 --- a/Assets/Scripts/Common/GameConfig.cs +++ b/Assets/Scripts/Common/GameConfig.cs @@ -12,10 +12,11 @@ /// <summary> /// LoadingScene 载入下一个场景的场景名 /// </summary> - // cx test public static string NextSceneName = "Endless2D"; // public static string NextSceneName = "Endless"; + public static bool useSDK = true; + public static string Imei; public static bool isFirstStart = true; public static bool IsDebug = false; @@ -25,6 +26,12 @@ public static string LoginUrl = "http://172.16.1.52:9000/user/login"; public static bool OpenDebug = false; + + public static string PlayerName = ""; + + //是否震屏 + public static bool IsShaking = false; + /// <summary> /// PVE无尽模式,是否可以点击购买新的宝石 @@ -84,6 +91,31 @@ /// </summary> public static int SkillLevel; + /// <summary> + /// 是否随机合成塔 + /// </summary> + public static bool CreateRandomTower = true; + + /// <summary> + /// 是否是从新手开始闯关的 + /// </summary> + public static bool IsNewbieStart; + + /// <summary> + /// 无限释放技能 + /// </summary> + public static bool InfiniteSkill; + + /// <summary> + /// 关卡完成次数,通关或者是没过关爱心数量为0 + /// </summary> + public static int GameCompletedCount; + + /// <summary> + /// 是否提升过所有塔的等级 + /// </summary> + public static bool IsUpgradeTowerLevel; + #region 各个塔的偏移量 public static Vector3 fireScale = new Vector3(1.92f, 1.92f, 2.208f); public static Vector3 woodScale = new Vector3(1.5f, 1.5f, 2.82f); -- Gitblit v1.9.1