Unity2019破解免安装UnityHub

/ 0评 / 0

Unity2019安装好之后使用UFFA - Editor Patcher 2020.exe完成破解工作后可以运行打开一次,然后再打开就提示安装UnityHub

可以删除或重命名Unity安装目录下

Editor\Data\Resources\Licensing\Client\Unity.Licensing.Client.exe

文件即可。

/// <summary>
/// 获取手机品牌_手机型号
/// </summary>
/// <returns></returns>
public string GetPhoneMsg() {
#if UNITY_EDITOR
    return "untiy";
#elif UNITY_STANDALONE_WIN || UNITY_EDITOR
    return "win32";
#elif UNITY_ANDROID
    using(AndroidJavaClass cls = new AndroidJavaClass(PLUGINPATH)) {
        string netSt = cls.CallStatic<string>("getPhoneMsg");string netSt = cls.CallStatic<string>("getPhoneMsg");string netSt = cls.CallStatic<string>("getPhoneMsg");
        return netSt;
    }
#elif UNITY_IPHONE
    return ios_device();
#else
    return "unknow";
#endif
}

public string GetPhoneModel() {
#if UNITY_EDITOR
    return "untiy";
#elif UNITY_ANDROID
    using(AndroidJavaClass cls = new AndroidJavaClass(PLUGINPATH)) {
        string netSt = cls.CallStatic<string>("getPhoneModel");
        return netSt;
    }
#elif UNITY_IPHONE
    return ios_device();
#else
    return "unknow";
#endif
}

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注