2025-02-11 16:42:39 +08:00

43 lines
1.3 KiB
C#

using QFramework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Linq;
using UnityEngine;
using XMLTool;
public class Global : Singleton<Global>
{
Global() { }
public XMLTool.AppData appData;
public Module curModule;
public Body3D.Body cur3DBody;
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 string xmlPath = dataPath + "/Xml/";
public static string reportPath = dataPath + "/Report/";
public static string reportDemoPath = reportPath + "Demo.docx";
public static APPSetting appSetting { get; } = new APPSetting();
public static string HighLightTrigger = "HighLightTrigger";
public enum AppType
{
UnKnow = 1 << 0,
Study = 1 << 1,
Exam = 1 << 2,
All = 1 << 3,
}
public static AppType appTpe = AppType.UnKnow;
public static Dictionary<string, XElement> moduleDict = new Dictionary<string, XElement>();
}