using UnityEngine; public class Global { Global() { } #if UNITY_WEBGL && !UNITY_EDITOR public static string dataPath = Application.dataPath + "/Data"; #else public static string dataPath = Application.dataPath + "/../Data"; #endif 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"; }