【m】框架优化
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Stary.Evo
|
||||
#if UNITY_EDITOR
|
||||
authorization = EditorPrefs.GetString("Authorization");
|
||||
#else
|
||||
authorization = PlayerPrefs.GetString("Authorization");
|
||||
authorization = CustomPlayerPrefs.GetString("Authorization");
|
||||
#endif
|
||||
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace Stary.Evo
|
||||
#if UNITY_EDITOR
|
||||
EditorPrefs.SetString("Authorization", authorization);
|
||||
#else
|
||||
PlayerPrefs.SetString("Authorization",authorization);
|
||||
CustomPlayerPrefs.SetString("Authorization",authorization);
|
||||
#endif
|
||||
|
||||
Debug.Log("UnityEvo:登录成功");
|
||||
@@ -100,7 +100,7 @@ namespace Stary.Evo
|
||||
#if UNITY_EDITOR
|
||||
authorization = EditorPrefs.GetString("Authorization");
|
||||
#else
|
||||
authorization = PlayerPrefs.GetString("Authorization");
|
||||
authorization = CustomPlayerPrefs.GetString("Authorization");
|
||||
#endif
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user