You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
935 B
34 lines
935 B
3 years ago
|
using UnityEngine;
|
||
|
/// <summary>
|
||
|
/// 全局变量储存
|
||
|
/// </summary>
|
||
|
public static class GlobalVariable
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 车辆举臂速度
|
||
|
/// </summary>
|
||
|
public static float TruckArmSpeed = 1f;
|
||
|
/// <summary>
|
||
|
/// 当前楼层信息
|
||
|
/// </summary>
|
||
|
public static FloorData CurrentFloor;
|
||
|
public const string ContentPath = "Scroll View/Viewport/Content";
|
||
|
public const string CarTag = "Car";
|
||
|
public static bool InfoActive;
|
||
|
public static string TeamName = "单位名称";
|
||
|
public static int ReplaySpeed = 1;
|
||
|
public static bool ToolsOn = false;//工具栏是否显示
|
||
|
public static bool FloorsOn = true;//楼层信息是否显示
|
||
|
public static float FloorsScrollBarValue = 0;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 初始化全局变量
|
||
|
/// </summary>
|
||
|
public static void InitGlobalVariable()
|
||
|
{
|
||
|
TruckArmSpeed = 1f;
|
||
|
CurrentFloor = new FloorData();
|
||
|
}
|
||
|
}
|
||
|
|