2024-12-14 18:27:59 +08:00
|
|
|
using QFramework;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using XMLTool;
|
|
|
|
|
|
|
|
|
|
public class Global : Singleton<Global>
|
|
|
|
|
{
|
|
|
|
|
Global() { }
|
|
|
|
|
|
|
|
|
|
public XMLTool.AppData appData;
|
|
|
|
|
public Module curModule;
|
|
|
|
|
|
2024-12-16 13:25:22 +08:00
|
|
|
public static string dataPath = Application.dataPath + "/../Data";
|
|
|
|
|
public static string deviceIconsPath = dataPath + "/DeviceIcons/";
|
|
|
|
|
public static string audioPath = dataPath + "/Audio/";
|
|
|
|
|
public static string appXmlPath = dataPath + "/App.xml";
|
2024-12-17 16:40:11 +08:00
|
|
|
public static string imagePath = dataPath + "/Image/";
|
2024-12-17 18:07:20 +08:00
|
|
|
public static string videoPath = dataPath + "/Video/";
|
2024-12-17 14:26:40 +08:00
|
|
|
public static APPSetting appSetting { get; } = new APPSetting();
|
|
|
|
|
|
2024-12-14 18:27:59 +08:00
|
|
|
public enum AppType
|
|
|
|
|
{
|
|
|
|
|
UnKnow = 1 << 0,
|
|
|
|
|
Study = 1 << 1,
|
|
|
|
|
Exam = 1 << 2,
|
|
|
|
|
All = 1 << 3,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static AppType appTpe = AppType.UnKnow;
|
|
|
|
|
|
|
|
|
|
}
|