2024-12-17 18:07:20 +08:00

34 lines
888 B
C#

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;
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";
public static string imagePath = dataPath + "/Image/";
public static string videoPath = dataPath + "/Video/";
public static APPSetting appSetting { get; } = new APPSetting();
public enum AppType
{
UnKnow = 1 << 0,
Study = 1 << 1,
Exam = 1 << 2,
All = 1 << 3,
}
public static AppType appTpe = AppType.UnKnow;
}