단축키 일단 정리. 꼼꼼이 테스트 해봐야 함
This commit is contained in:
@@ -218,7 +218,7 @@ namespace UVC.Studio.Config
|
||||
/// <returns>저장 성공 여부</returns>
|
||||
public async UniTask<bool> SaveAsync(CancellationToken cancellationToken = default)
|
||||
{
|
||||
string path = Path.Combine(Application.streamingAssetsPath, FileName);
|
||||
string path = Path.Combine(Application.streamingAssetsPath, "Studio", FileName);
|
||||
if (useAppDataPath)
|
||||
{
|
||||
path = Path.Combine(Application.persistentDataPath, FileName);
|
||||
@@ -258,7 +258,7 @@ namespace UVC.Studio.Config
|
||||
#region Sync Methods
|
||||
|
||||
/// <summary>
|
||||
/// StreamingAssets/Settings.json 파일에서 설정을 동기로 로드합니다.
|
||||
/// StreamingAssets/Studio/Settings.json 파일에서 설정을 동기로 로드합니다.
|
||||
/// </summary>
|
||||
/// <returns>로드 성공 여부</returns>
|
||||
/// <remarks>
|
||||
@@ -267,7 +267,11 @@ namespace UVC.Studio.Config
|
||||
/// </remarks>
|
||||
public bool Load()
|
||||
{
|
||||
string path = Path.Combine(Application.streamingAssetsPath, FileName);
|
||||
string path = Path.Combine(Application.streamingAssetsPath, "Studio", FileName);
|
||||
if (useAppDataPath)
|
||||
{
|
||||
path = Path.Combine(Application.persistentDataPath, FileName);
|
||||
}
|
||||
|
||||
if (!File.Exists(path))
|
||||
{
|
||||
@@ -303,8 +307,11 @@ namespace UVC.Studio.Config
|
||||
/// </remarks>
|
||||
public bool Save()
|
||||
{
|
||||
string path = Path.Combine(Application.streamingAssetsPath, FileName);
|
||||
|
||||
string path = Path.Combine(Application.streamingAssetsPath, "Studio", FileName);
|
||||
if (useAppDataPath)
|
||||
{
|
||||
path = Path.Combine(Application.persistentDataPath, FileName);
|
||||
}
|
||||
try
|
||||
{
|
||||
// Newtonsoft.Json 사용으로 float 정밀도 문제 해결
|
||||
|
||||
Reference in New Issue
Block a user