liuzhiwei
2020-12-28 20d94d22bd80b0f3b748d2078916ebaa1d6ec856
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
 
using UnityEngine;
/**
* 全局配置
* @Author: chenxin
* @Date: 2020-10-14 10:40:24
*/
namespace KTGMGemClient
{
    public class GameConfig
    {
        /// <summary>
        /// LoadingScene 载入下一个场景的场景名
        /// </summary>
        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;
 
        public static string TestLoginUrl = "http://10.5.3.227:9000/user/login";
 
        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无尽模式,是否可以点击购买新的宝石
        /// </summary>
        public static bool CanBuyNewTower = false;
 
        /// <summary>
        /// 是否可以点击金币购买新的塔位
        /// </summary>
        public static bool CanOpenNewTower = true;
 
        /// <summary>
        /// 攻击塔是否可以收到伤害
        /// </summary>
        public static bool TowerCanTakeDamage = false;
 
        /// <summary>
        /// 攻击塔是否第一次收到伤害
        /// </summary>
        public static bool TowerFirstTakeDamage = true;
 
        /// <summary>
        /// 是否是新手
        /// </summary>
        public static bool IsNewbie = false;
        /// <summary>
        /// 是否JSON读取完毕
        /// </summary>
        public static bool JsonReadDone = false;
        /// <summary>
        /// 新手模式是否可以推拽塔
        /// </summary>
        public static bool CanDragTower = false;
 
        /// <summary>
        /// 无尽模式每一轮游戏中成功使用技能宝石的次数
        /// </summary>
        public static int EndlessPortUseSkillTowerCount;
 
        /// <summary>
        /// 每一轮游戏中成功开启的塔位置数量,这个是上阵的塔,可以攻击的塔位
        /// </summary>
        public static int EndlessOpenAttackTowerCount;
 
        /// <summary>
        /// 每一轮游戏中成功购买塔的数量
        /// </summary>
        public static int EndlessBuyTowerCount;
 
        /// <summary>
        /// 每一轮游戏中技能值
        /// </summary>
        public static int EnergyCount;
 
        /// <summary>
        /// 每一轮游戏中技能等级
        /// </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);
        public static Vector3 waterScale = new Vector3(1.0f, 1.0f, 1.88f);
 
        public static Vector3 fireOffectp = new Vector3(0f, 0f, -0.15f);
        public static Vector3 woodOffectp = new Vector3(0.08f, 0f, 0.2f);
        #endregion
    }
}