| 123456789101112131415161718192021222324252627282930 |
- using UnityEngine;
- using ToneTuneToolkit.Common;
- namespace ToneTuneToolkit.Verification
- {
- /// <summary>
- /// OK
- /// 验证系统助手
- /// 需要正确的配置文件
- /// </summary>
- [RequireComponent(typeof(ToolkitManager))]
- [RequireComponent(typeof(Verifier))]
- public class VerifierHandler : MonoBehaviour
- {
- #region Paths
- public static string AuthorizationFilePath = ToolkitManager.DataPath + "/authorizationcode.json";
- #endregion
- #region KeyNames
- public static string UCName = "U C";
- public static string MCName = "M C";
- public static string TSName = "T S";
- #endregion
- private void Awake()
- {
- ToolkitManager.FileIntegrityCheck(AuthorizationFilePath);
- }
- }
- }
|