123456789101112131415161718192021222324252627282930313233343536 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class UserInfo {
-
- //设备sn号
- public static string Serialno = string.Empty;
- //影创账号
- public static string Account = string.Empty;
- //影创应用号
- public static string AppID = "mr_studio";
- //Token
- public static string Token = string.Empty;
- //User_Token
- public static string User_Token = string.Empty;
- //Token
- public static string uid = string.Empty;
- /// <summary>
- /// 判断是否为游客账号
- /// </summary>
- /// <returns><c>true</c>, if vistor account was ised, <c>false</c> otherwise.</returns>
- public static bool isVistorAccount()
- {
- return Serialno == Account;
- }
- /// <summary>
- /// 判断用户是否登陆
- /// </summary>
- /// <returns><c>true</c>, if login was ised, <c>false</c> otherwise.</returns>
- public static bool isLogin()
- {
- return Account != string.Empty;
- }
- }
|