【m】更新持久化存储
Some checks failed
Plugin Library CI / publish (00.ARMazTools) (push) Failing after 3s
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 6s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 19s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 6s
Plugin Library CI / publish (04.AudioCore) (push) Has been cancelled
Plugin Library CI / publish (05.TableTextConversion) (push) Has been cancelled
Plugin Library CI / publish (06.UIFarme) (push) Has been cancelled
Plugin Library CI / publish (07.RKTools) (push) Has been cancelled
Plugin Library CI / publish (08.UniTask) (push) Has been cancelled
Plugin Library CI / publish (09.CodeChecker) (push) Has been cancelled
Plugin Library CI / publish (10.StoryEditor) (push) Has been cancelled
Plugin Library CI / publish (10.XNode) (push) Has been cancelled
Plugin Library CI / publish (11.PointCloudTools) (push) Has been cancelled
Plugin Library CI / publish (03.YooAsset) (push) Has been cancelled
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
Some checks failed
Plugin Library CI / publish (00.ARMazTools) (push) Failing after 3s
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 6s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 19s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 6s
Plugin Library CI / publish (04.AudioCore) (push) Has been cancelled
Plugin Library CI / publish (05.TableTextConversion) (push) Has been cancelled
Plugin Library CI / publish (06.UIFarme) (push) Has been cancelled
Plugin Library CI / publish (07.RKTools) (push) Has been cancelled
Plugin Library CI / publish (08.UniTask) (push) Has been cancelled
Plugin Library CI / publish (09.CodeChecker) (push) Has been cancelled
Plugin Library CI / publish (10.StoryEditor) (push) Has been cancelled
Plugin Library CI / publish (10.XNode) (push) Has been cancelled
Plugin Library CI / publish (11.PointCloudTools) (push) Has been cancelled
Plugin Library CI / publish (03.YooAsset) (push) Has been cancelled
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Stary.Evo
|
||||
static WebRequestSystem()
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
authorization = EditorPrefs.GetString("Authorization");
|
||||
authorization = CustomEditorPrefs.GetString("Authorization");
|
||||
#else
|
||||
authorization = CustomPlayerPrefs.GetString("Authorization");
|
||||
#endif
|
||||
@@ -70,7 +70,7 @@ namespace Stary.Evo
|
||||
Debug.Log("UnityEvo:AuthenticationResponse" + authResponseData.Token);
|
||||
authorization = authResponseData.Token;
|
||||
#if UNITY_EDITOR
|
||||
EditorPrefs.SetString("Authorization", authorization);
|
||||
CustomEditorPrefs.SetString("Authorization", authorization);
|
||||
#else
|
||||
CustomPlayerPrefs.SetString("Authorization",authorization);
|
||||
#endif
|
||||
@@ -98,7 +98,7 @@ namespace Stary.Evo
|
||||
public static async Task<bool> GetValidateToken(string url)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
authorization = EditorPrefs.GetString("Authorization");
|
||||
authorization = CustomEditorPrefs.GetString("Authorization");
|
||||
#else
|
||||
authorization = CustomPlayerPrefs.GetString("Authorization");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user