YanCheng_Metrology/Assets/Scripts/GlobalFlag.cs

19 lines
482 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 永远存储全局需要使用的值,比如,在进入打开程序的时候,记录下当前登录用户名称/用户ID然后在最后提交的时候使用其中的值
/// </summary>
public class GlobalFlag
{
/// <summary>
/// 当前用户名。
/// </summary>
public static string currentUserID;
/// <summary>
/// 当前场景,比如 当前场景是办公室。
/// </summary>
public static string currentSceneName;
}