19 lines
482 B
C#
19 lines
482 B
C#
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;
|
||
}
|