42 lines
1.2 KiB
C#
42 lines
1.2 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 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>();
|
|
|
|
}
|