12 public const string Layer =
"UI/Layer/";
14 public const string Content =
"UI/Content/";
16 public const string Window =
"UI/Window/";
22 public const string Widget =
"UI/Widget/";
24 public const string Element =
"UI/Element/";
26 public const string Header =
"UI/Element/Header/";
28 public const string Text =
"UI/Element/Text/";
30 public const string Note =
"UI/Element/Note/";
32 public const string Deco =
"UI/Element/Deco/";
34 public const string Item =
"UI/Element/Item/";
36 public const string Button =
"UI/Element/Button/";
38 public const string Other =
"UI/Element/Other/";
40 public const string List =
"UI/Element/List/";
42 public const string Pop =
"UI/Pop/";
44 public const string Util =
"UI/Util/";
49 public static string TextData => Lang.setting.dir +
"Data/";
59 return Lang.setting.dir +
"Dialog/";
67 public static string Text => Lang.setting.dir +
"Text/";
94 public const string Scene =
"Scene/";
102 public const string Lut =
"Scene/Profile/Lut/";
104 public const string PostEffect =
"Scene/Profile/PostEffect/";
108 public const string Map =
"World/Map/";
110 public const string MapGen =
"World/Map/Gen/";
114 public const string Media =
"Media/";
116 public const string Gallery =
"Media/Gallery/";
118 public const string Anime =
"Media/Anime/";
120 public const string Sound =
"Media/Sound/";
122 public const string Effect =
"Media/Effect/";
126 public const string Particle =
"Media/Effect/Particle/";
130 public const string Icon =
"Media/Graphics/Icon/";
136 public const string IconRecipe =
"Media/Graphics/Icon/Recipe/";
138 public const string Image =
"Media/Graphics/Image/";
140 public const string Deco =
"Media/Graphics/Deco/";
142 public const string Drama =
"Media/Drama/";
148 public const string Render =
"Scene/Render/";
150 public const string Actor =
"Scene/Render/Actor/";
154 public const string TC =
"Scene/Render/Actor/Component/";
156 public const string Hoard =
"UI/Layer/Hoard/";
158 public const string News =
"UI/Layer/LayerNewspaper/";
178 public static string Text_Popup => Lang.setting.dir +
"Etc/Popup/";
208 public static string RootData => Application.persistentDataPath +
"/";
210 public static string RootSave => Application.persistentDataPath +
"/Save/";
212 public static string RootSaveCloud => Application.persistentDataPath +
"/Cloud Save/";
226 Debug.Log(
"Init CorePath");
227 rootMod = Application.dataPath +
"/../Package/";
228 if (!Directory.Exists(
rootMod))
230 rootMod = Application.streamingAssetsPath +
"/Package/";
232 rootExe = Application.dataPath +
"/../";
234 user = Application.persistentDataPath +
"/User/";
235 custom = Application.persistentDataPath +
"/Custom/";
236 modData = Application.persistentDataPath +
"/Mod/";
237 if (!Application.isPlaying)
255 string text = (Application.isEditor ? (Application.streamingAssetsPath +
"/User/") : (
rootExe +
"User/"));
256 if (!Application.isEditor || !Directory.Exists(
user))
258 Debug.Log(
"Copy User Folder:" + text +
" to " +
user);
259 IO.CreateDirectory(
user);
260 IO.CopyAll(text,
user, overwrite:
false);
263 text = (Application.isEditor ? (Application.streamingAssetsPath +
"/Custom/") : (
rootExe +
"Custom/"));
264 Debug.Log(
"Copy Custom Folder:" + text +
" to " +
custom);
265 IO.CreateDirectory(
custom);
266 IO.CopyAll(text,
custom, overwrite:
false);
static string TextNarration
static string BottleMessage
static string LangImportMod
const string WindowElement
static string LotTemplate
static string MapPieceSaveUser
static string ZoneSaveUser
static string PathBackupOld
static string DramaDataLocal
static string packageCore
static string RootSaveCloud
const string IconAchievement
static string SceneCustomizerSave
static string MapPieceSave
static string Text_DialogHelp
static string VersionFile
static string PathBackupCloud
static string ShareSettingFile