Definition at line 6 of file CorePath.cs.
◆ Init()
static void CorePath.Init |
( |
| ) |
|
|
inlinestatic |
Definition at line 220 of file CorePath.cs.
221 {
222 Debug.Log(
"Init CorePath");
223 rootMod = Application.dataPath +
"/../Package/";
224 if (!Directory.Exists(
rootMod))
225 {
226 rootMod = Application.streamingAssetsPath +
"/Package/";
227 }
228 rootExe = Application.dataPath +
"/../";
230 user = Application.persistentDataPath +
"/User/";
231 custom = Application.persistentDataPath +
"/Custom/";
232 modData = Application.persistentDataPath +
"/Mod/";
233 if (!Application.isPlaying)
234 {
235 return;
236 }
238 {
240 {
242 }
243 else
244 {
246 }
247 }
251 string text = (Application.isEditor ? (Application.streamingAssetsPath +
"/User/") : (
rootExe +
"User/"));
252 if (!Application.isEditor || !Directory.Exists(
user))
253 {
254 Debug.Log(
"Copy User Folder:" + text +
" to " +
user);
258 }
259 text = (Application.isEditor ? (Application.streamingAssetsPath +
"/Custom/") : (
rootExe +
"Custom/"));
260 Debug.Log(
"Copy Custom Folder:" + text +
" to " +
custom);
263 }
static string PathBackupOld
static string packageCore
static string RootSaveCloud
static string SceneCustomizerSave
static string PathBackupCloud
static void CopyAll(string fromPath, string toPath, bool overwrite=true)
static void CreateDirectory(string path)
References custom, Debug, modData, packageCore, PathBackup, PathBackupCloud, PathBackupOld, rootExe, rootMod, RootSave, RootSaveCloud, SceneCustomizerSave, and user.
Referenced by CoreEmu.Awake(), and Core.SetReferences().
◆ Actor
◆ Anime
const string CorePath.Anime = "Media/Anime/" |
|
static |
◆ BuildMenu
const string CorePath.BuildMenu = "UI/BuildMenu/" |
|
static |
◆ custom
◆ Data_Raw
const string CorePath.Data_Raw = "Data/Raw/" |
|
static |
◆ Deco
const string CorePath.Deco = "Media/Graphics/Deco/" |
|
static |
◆ Drama
const string CorePath.Drama = "Media/Drama/" |
|
static |
◆ DramaActor
const string CorePath.DramaActor = "Media/Drama/Actor/" |
|
static |
◆ Effect
const string CorePath.Effect = "Media/Effect/" |
|
static |
◆ FowProfile
const string CorePath.FowProfile = "Scene/Profile/Fow/" |
|
static |
◆ Gallery
const string CorePath.Gallery = "Media/Gallery/" |
|
static |
◆ Graphics
const string CorePath.Graphics = "Media/Graphics/" |
|
static |
◆ Hoard
◆ Icon
const string CorePath.Icon = "Media/Graphics/Icon/" |
|
static |
◆ IconAchievement
const string CorePath.IconAchievement = "Media/Graphics/Icon/Achievement/" |
|
static |
◆ IconElement
◆ IconRecipe
◆ Image
const string CorePath.Image = "Media/Graphics/Image/" |
|
static |
◆ Lut
const string CorePath.Lut = "Scene/Profile/Lut/" |
|
static |
◆ Map
const string CorePath.Map = "World/Map/" |
|
static |
◆ MapGen
const string CorePath.MapGen = "World/Map/Gen/" |
|
static |
◆ Media
const string CorePath.Media = "Media/" |
|
static |
◆ modData
◆ News
◆ packageCore
string CorePath.packageCore |
|
static |
◆ Particle
const string CorePath.Particle = "Media/Effect/Particle/" |
|
static |
◆ PostEffect
const string CorePath.PostEffect = "Scene/Profile/PostEffect/" |
|
static |
◆ Render
const string CorePath.Render = "Scene/Render/" |
|
static |
◆ RenderData
const string CorePath.RenderData = "Scene/Render/Data/" |
|
static |
◆ rootExe
◆ rootMod
◆ Scene
const string CorePath.Scene = "Scene/" |
|
static |
◆ SceneProfile
const string CorePath.SceneProfile = "Scene/Profile/" |
|
static |
◆ SceneTemplate
const string CorePath.SceneTemplate = "Scene/Template/" |
|
static |
◆ Sound
const string CorePath.Sound = "Media/Sound/" |
|
static |
◆ TC
const string CorePath.TC = "Scene/Render/Actor/Component/" |
|
static |
◆ TextEffect
const string CorePath.TextEffect = "Media/Text/" |
|
static |
◆ user
◆ ZoneProfile
const string CorePath.ZoneProfile = "World/Zone/Profile/" |
|
static |
◆ ConfigFile
string CorePath.ConfigFile |
|
staticget |
◆ coreWidget
string CorePath.coreWidget |
|
staticget |
◆ DramaData
string CorePath.DramaData |
|
staticget |
◆ DramaDataLocal
string CorePath.DramaDataLocal |
|
staticget |
◆ LotTemplate
string CorePath.LotTemplate |
|
staticget |
◆ MapPieceSave
string CorePath.MapPieceSave |
|
staticget |
◆ MapPieceSaveUser
string CorePath.MapPieceSaveUser |
|
staticget |
◆ PathBackup
string CorePath.PathBackup |
|
staticget |
◆ PathBackupCloud
string CorePath.PathBackupCloud |
|
staticget |
◆ PathBackupOld
string CorePath.PathBackupOld |
|
staticget |
◆ PathIni
◆ RootData
◆ RootSave
Definition at line 206 of file CorePath.cs.
Referenced by LayerFeedback.CollectFiles(), Game.Create(), GameIO.DeleteGame(), Init(), Game.Load(), GameIO.MakeBackup(), Core.OnApplicationQuit(), LayerFeedback.OnInit(), ContentConfigOther.OoenConfigFolder(), ContentConfigOther.OpenLog(), LayerLoadGame.RefreshInfo(), LayerLoadGame.RefreshList(), Game.TryLoad(), and CoreDebug.UpdateInput().
◆ RootSaveCloud
string CorePath.RootSaveCloud |
|
staticget |
◆ SceneCustomizerSave
string CorePath.SceneCustomizerSave |
|
staticget |
◆ ShareSettingFile
string CorePath.ShareSettingFile |
|
staticget |
◆ Temp
◆ Text_DialogHelp
string CorePath.Text_DialogHelp |
|
staticget |
◆ Text_Popup
string CorePath.Text_Popup |
|
staticget |
◆ VersionFile
string CorePath.VersionFile |
|
staticget |
◆ WidgetSave
string CorePath.WidgetSave |
|
staticget |
◆ ZoneSave
◆ ZoneSaveUser
string CorePath.ZoneSaveUser |
|
staticget |
The documentation for this class was generated from the following file: