【m】框架优化
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Stary.Evo
|
||||
else
|
||||
{
|
||||
ip = hotfixMainResDomain.hotfixMainResDomainEntity.ipconfig;
|
||||
EditorPrefs.SetString("ip", ip);
|
||||
CustomEditorPrefs.SetString("ip", ip);
|
||||
userName = hotfixMainResDomain.hotfixMainResDomainEntity.username;
|
||||
password = hotfixMainResDomain.hotfixMainResDomainEntity.password;
|
||||
}
|
||||
@@ -97,7 +97,7 @@ namespace Stary.Evo
|
||||
{
|
||||
buildAssetType = BuildAssetType.Login;
|
||||
message = "未登录";
|
||||
EditorPrefs.DeleteKey("Authorization");
|
||||
CustomEditorPrefs.DeleteKey("Authorization");
|
||||
}
|
||||
|
||||
private void SetWebRequestInfo()
|
||||
@@ -107,7 +107,7 @@ namespace Stary.Evo
|
||||
hotfixMainResDomain.hotfixMainResDomainEntity.ipconfig = ip;
|
||||
hotfixMainResDomain.hotfixMainResDomainEntity.username = userName;
|
||||
hotfixMainResDomain.hotfixMainResDomainEntity.password = password;
|
||||
EditorPrefs.SetString("ip", ip);
|
||||
CustomEditorPrefs.SetString("ip", ip);
|
||||
EditorUtility.SetDirty(hotfixMainResDomain);
|
||||
AssetDatabase.SaveAssets();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user