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/";
90 public const string Scene =
"Scene/";
98 public const string Lut =
"Scene/Profile/Lut/";
100 public const string PostEffect =
"Scene/Profile/PostEffect/";
104 public const string Map =
"World/Map/";
106 public const string MapGen =
"World/Map/Gen/";
110 public const string Media =
"Media/";
112 public const string Gallery =
"Media/Gallery/";
114 public const string Anime =
"Media/Anime/";
116 public const string Sound =
"Media/Sound/";
118 public const string Effect =
"Media/Effect/";
122 public const string Particle =
"Media/Effect/Particle/";
126 public const string Icon =
"Media/Graphics/Icon/";
132 public const string IconRecipe =
"Media/Graphics/Icon/Recipe/";
134 public const string Image =
"Media/Graphics/Image/";
136 public const string Deco =
"Media/Graphics/Deco/";
138 public const string Drama =
"Media/Drama/";
144 public const string Render =
"Scene/Render/";
146 public const string Actor =
"Scene/Render/Actor/";
150 public const string TC =
"Scene/Render/Actor/Component/";
152 public const string Hoard =
"UI/Layer/Hoard/";
154 public const string News =
"UI/Layer/LayerNewspaper/";
174 public static string Text_Popup => Lang.setting.dir +
"Etc/Popup/";
204 public static string RootData => Application.persistentDataPath +
"/";
206 public static string RootSave => Application.persistentDataPath +
"/Save/";
208 public static string RootSaveCloud => Application.persistentDataPath +
"/Cloud Save/";
222 Debug.Log(
"Init CorePath");
223 rootMod = Application.dataPath +
"/../Package/";
224 if (!Directory.Exists(
rootMod))
226 rootMod = Application.streamingAssetsPath +
"/Package/";
228 rootExe = Application.dataPath +
"/../";
230 user = Application.persistentDataPath +
"/User/";
231 custom = Application.persistentDataPath +
"/Custom/";
232 modData = Application.persistentDataPath +
"/Mod/";
233 if (!Application.isPlaying)
251 string text = (Application.isEditor ? (Application.streamingAssetsPath +
"/User/") : (
rootExe +
"User/"));
252 if (!Application.isEditor || !Directory.Exists(
user))
254 Debug.Log(
"Copy User Folder:" + text +
" to " +
user);
255 IO.CreateDirectory(
user);
256 IO.CopyAll(text,
user, overwrite:
false);
259 text = (Application.isEditor ? (Application.streamingAssetsPath +
"/Custom/") : (
rootExe +
"Custom/"));
260 Debug.Log(
"Copy Custom Folder:" + text +
" to " +
custom);
261 IO.CreateDirectory(
custom);
262 IO.CopyAll(text,
custom, overwrite:
false);
static string TextNarration
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