29 lines
619 B
C#
29 lines
619 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 deviceIconsPath = Application.dataPath + "/../" + "Data/DeviceIcons/";
|
||
|
|
public static string audioPath = Application.dataPath + "/../" + "Data/Audio/";
|
||
|
|
|
||
|
|
public enum AppType
|
||
|
|
{
|
||
|
|
UnKnow = 1 << 0,
|
||
|
|
Study = 1 << 1,
|
||
|
|
Exam = 1 << 2,
|
||
|
|
All = 1 << 3,
|
||
|
|
}
|
||
|
|
|
||
|
|
public static AppType appTpe = AppType.UnKnow;
|
||
|
|
|
||
|
|
}
|