Unity Editor 记忆 Android 发布设置中的签名配置
Assets/Editor/SigningConfigs.cs
using UnityEditor;
/// <summary>
/// 签名配置
/// </summary>
[InitializeOnLoad]
public class SigningConfigs
{
static SigningConfigs()
{
// 秘钥文件
PlayerSettings.Android.keystoreName = "xxx.keystore";
// 密钥密码
PlayerSettings.Android.keystorePass = "...";
// 密钥别名
PlayerSettings.Android.keyaliasName = "...";
// 密钥别名密码
PlayerSettings.Android.keyaliasPass = "...";
}
}