using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 游戏数据 /// public static class GameNumericalValue { /// /// 玩家初始移动速度 /// public static float PlayerMoveSpeed=6; /// /// 玩家初始加速度 /// public static float PlayerAcceleration = 0.5f; /// /// 玩家变道速度 /// public static float ChangeLanesSpeed=0.2f; /// /// 惊险超车距离 /// public static float JudgmentOvertakingDistance = 8; /// /// 添加能量距离 /// public static float addEnergyDistance = 100; /// /// 惊险超车奖励金币 /// public static int JudgmentOvertakingAwardMoney=75; /// /// 超车金币 /// public static int OvertakingCoin = 75; /// /// 超车积分 /// public static int OvertakingIntegral=25; /// /// 追尾事故扣除 /// public static int RearEndAccidentDeduction = 500; /// /// 斜面事故扣除 /// public static int BevelAccidentDeduction = 250; /// /// 侧面事故扣除 /// public static int SideAccidentDeduction = 100; /// /// 火车移动速度 /// public static float TrainMoveSpeed = 20; /// /// NPC变道速度 /// public static float NpcLaneChangeSpeed = 1.5f; /// /// 闪灯数 /// public static float FlashingLightNumber = 6; /// /// 广告倒计时 /// public static float ADCountDown = 300; /// /// 子弹时间时间 /// public static float SpeedbreakerTime = 15; /// /// 小车偏移 /// public static Vector3 littleCenter = new Vector3(0,0.8f,0); /// /// 小车尺寸 /// public static Vector3 littleSize = new Vector3(2,1.2f,4.5f); /// /// 小车偏移 /// public static Vector3 bigCenter = new Vector3(0, 1.3f, 0); /// /// 小车尺寸 /// public static Vector3 bigSize = new Vector3(2, 2, 6.25f); }