AxibugEmuOnline/AxibugEmuOnline.Client.PSVita/Assets/Script/CorePath.cs

13 lines
288 B
C#
Raw Normal View History

2024-12-08 21:50:52 +08:00
using UnityEngine;
public static class CorePath
{
#if UNITY_EDITOR
public static string DataPath => Application.persistentDataPath;
#elif UNITY_PSP2
public static string DataPath => Application.dataPath;
#else
public static string DataPath => Application.persistentDataPath;
#endif
}