| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /**通用配置(2021/12/18新增) */
- public class CommonConfig
- {
- /*
- 特定版本功能
- 1、长接瞄准键,出来鼠标的功能帮忙去掉
- 2、在初始状态下,就装备上五倍射程卡和二倍瞄准镜
- 3、将60寸,2.5米的5倍数更改为60寸,1.5米的3倍数
- 4、进入游戏时,默认加开启射程卡
- */
- public static bool SpecialVersion1 = true;
- //需要App商店审核?-标记用于特别处理某些功能
- public static bool needToExamine = false;
- //是否属于发布版本?-标记用于特别处理某些功能,比如屏蔽内部测试才有功能
- public static bool isReleaseVersion = false;
- //设备方案
- public static readonly int devicePlan = 0;
- /**环数精度小数位 */
- public static readonly int ringsPrecision = 1;
- /**箭的速度精度小数位 */
- public static readonly int arrowSpeedPrecision = 1;
- //实体模具箭重,单位克
- public static float arrowWeight = 75;
- public enum ServerType {LocalTest, Produce};
- private static ServerType serverType = ServerType.Produce;
- //业务服务端访问地址
- public static string businessServerURI {
- get {
- if (serverType == ServerType.LocalTest) {
- return "http://192.168.137.1:11332/SmartBowBusinessServer";
- }
- if (serverType == ServerType.Produce) {
- return "http://49.234.219.63:11332/SmartBowBusinessServer";
- }
- return "";
- }
- }
- }
|