当前位置: 首页 > news >正文

上网建站推广营销网站建设的原则

上网建站推广,营销网站建设的原则,东莞自媒体运营推广公司,wordpress 显示页面标题一、为什么用 IL2CPP Unity的IL2CPP#xff08;Intermediate Language to C#xff09;是一个编译技术#xff0c;它将C#代码转换为C代码#xff0c;然后再编译成平台相关的二进制代码。IL2CPP提供了几个优点#xff0c;特别是在性能和跨平台部署方面。以下是IL2CPP的一些… 一、为什么用 IL2CPP Unity的IL2CPPIntermediate Language to C是一个编译技术它将C#代码转换为C代码然后再编译成平台相关的二进制代码。IL2CPP提供了几个优点特别是在性能和跨平台部署方面。以下是IL2CPP的一些主要优点 1.性能提升IL2CPP通常能提供比传统的Mono运行时更好的性能因为它可以利用本地编译器的优化。 2.跨平台支持由于IL2CPP生成的是C代码这使得它更容易被跨平台的编译器支持因此你可以将游戏编译到多个平台包括iOS、Android、Windows、Mac、Linux和游戏主机。 3.安全性增强IL2CPP提供了比Mono更高级别的安全性因为它不需要运行一个易于逆向工程的中间语言虚拟机。C代码更难被反编译这使得逆向工程变得更加困难。 4.完全AOT编译Ahead-of-TimeIL2CPP完全支持AOT编译这意味着所有的代码都在部署之前编译好了有利于实现更快的启动时间和更稳定的运行时性能这在iOS等不允许JIT编译的平台上尤其重要。 5.内存管理改进IL2CPP使用了更现代的垃圾回收技术可以更高效地管理内存减少内存泄露和碎片化问题。 6.64位支持IL2CPP支持64位计算这是许多现代设备和操作系统的要求。 7.与现代C编译器的兼容性由于生成的是C代码IL2CPP可以利用现代C编译器如Clang和GCC进行进一步的优化。 8.可预测的性能由于所有的代码都在编译时就已经确定了运行时的性能比JITJust-In-Time编译更加可预测因为它不会在用户使用应用程序时进行编译。 9.通用基础设施IL2CPP为Unity带来了一个通用的代码基础设施用于支持不断增长的平台数量简化了Unity的维护和新平台支持的工作。 10.现代语言特性支持IL2CPP更好地支持C#的新特性因为它能够使用新的C#编译器而旧的Mono运行时可能不支持这些新特性。 尽管IL2CPP提供了许多优点但它也有其限制比如编译时间往往比Mono更长且生成的二进制文件大小可能会更大。然而对于寻求性能和兼容性的开发者来说IL2CPP提供了一个强有力的解决方案。 二、环境搭建 在安装 Unity 的时候记得将 Windows Build Support(IL2CPP) 勾上如果是发布 Linux 系统则用 Linux Build Support(IL2CPP) 如果没有安装 IL2CPP在发布界面这里会提示没有安装 IL2CPP如下 Currently selected scripting backend (IL2CPP) is not installed 另外还需要安装 C 开发环境否则不能发布项目错误如下 详细错误 Internal build system error. BuildProgram exited with code 1. error: Could not set up a toolchain for Architecture x64. Make sure you have the right build tools installed for il2cpp builds. Details: IL2CPP C code builder is unable to build C code. In order to build C code for Windows Desktop, you must have one of these installed:  * Visual Studio 2022 or newer with C compilers and Windows 10 (or newer) SDK (recommended)  * Visual Studio 2019 with C compilers and Windows 10 (or newer) SDK  * Visual Studio 2017 with C compilers and Windows 10 (or newer) SDK  * Visual Studio 2015 with C compilers and Windows 10 (or newer) SDK Visual Studio 2017 (or newer) is detected using vswhere.exe as well as VSCOMNTOOLS environment variables. Visual Studio 2015 is detected by looking at SOFTWARE\Microsoft\VisualStudio\14.0_Config\InstallDir in the registry as well as VSCOMNTOOLS environment variables. Windows 10 (or newer) SDK is detected by looking at SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder in the registry. Unable to detect any compatible Visual Studio installation!  * Found Visual Studio 2022 installation without C tool components Unity.IL2CPP.Bee.BuildLogic.ToolchainNotFoundException: IL2CPP C code builder is unable to build C code. In order to build C code for Windows Desktop, you must have one of these installed:  * Visual Studio 2022 or newer with C compilers and Windows 10 (or newer) SDK (recommended)  * Visual Studio 2019 with C compilers and Windows 10 (or newer) SDK  * Visual Studio 2017 with C compilers and Windows 10 (or newer) SDK  * Visual Studio 2015 with C compilers and Windows 10 (or newer) SDK Visual Studio 2017 (or newer) is detected using vswhere.exe as well as VSCOMNTOOLS environment variables. Visual Studio 2015 is detected by looking at SOFTWARE\Microsoft\VisualStudio\14.0_Config\InstallDir in the registry as well as VSCOMNTOOLS environment variables. Windows 10 (or newer) SDK is detected by looking at SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0\InstallationFolder in the registry. Unable to detect any compatible Visual Studio installation!  * Found Visual Studio 2022 installation without C tool components at Unity.IL2CPP.Bee.BuildLogic.WindowsDesktop.WindowsDesktopBuildLogic.UserAvailableToolchainFor(Architecture architecture, NPath toolChainPath, NPath sysRootPath, Boolean targetIsSimulator)    at PlayerBuildProgramLibrary.PlayerBuildProgramBase.GetIl2CppToolChain(PlatformBuildLogic platform, Architecture architecture, NPath toolChainPath, NPath sysrootPath)    at PlayerBuildProgramLibrary.PlayerBuildProgramBase.SetupIl2CppBuild()    at PlayerBuildProgramLibrary.PlayerBuildProgramBase.SetupPlayerBuildb__94_0()    at Bee.Core.TinyProfiler2Base.Section[T](String label, Func1 func, Dictionary2 metadata)    at PlayerBuildProgramLibrary.PlayerBuildProgramBase.SetupPlayerBuild()    at WinPlayerBuildProgram.WinPlayerBuildProgram.SetupPlayerBuild()    at PlayerBuildProgramLibrary.PlayerBuildProgramBase.RunBuildProgram()    at PlayerBuildProgramTypeWrapper.Run(String[] args)    at Program.Main(String[] args) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool)   解决方法 在 Visual Studio 2022 中添加 C 环境并勾选 Windows 10 SDK 安装 上面两个条件安装完成后还需要在 Unity -- Player Settings 中进行设置 在 Configuration -- Scripting Backend 这里选择 IL2CPP  接下来就可以直接发布 PC 版的项目了发布成功后生成的文件和 Mono 不太一样 发布 Android 也不需要改多少配置这里我只是将 ARMv7 换成了 ARM64其他的设置就是默认的。 Android 打包是真的慢一个空包差不多用了 20 分钟不过包小了很多只有 10 M。 end
http://www.pierceye.com/news/760638/

相关文章:

  • 网页设计与网站建设实训目的wordpress 别名插件
  • 做婚庆网站的功能定位5分钟建站wordpress
  • 淄博网站制作优化北京高端网页
  • 专业网站设计速寻亿企邦wordpress下载官网
  • 水网站源码网站建设客户合同
  • 网站制作遨游免费企业网站备案查询
  • 保洁公司网站怎么做阿里企业邮箱个人版
  • 网站开发里的输入网站的内容建设
  • 怎么到国外网站去接模具订单做socks5免费代理地址
  • 青海西宁做网站多少钱网页设计与网站规划
  • 铁岭建设网站古典网站案例
  • 织梦html网站地图外国人讲汉语做网站的视频
  • 唯品会购物网站开发项目h5网站建设的具体内容
  • 苏州网站设计电话显示网站建设精美页面
  • 怎么做外汇返佣的网站电商网站 收费与免费
  • 网站建设 计划书繁体网站模板
  • 设计公司做网站有用吗互联网营销的概念
  • 网站中数据库教程网站未续费到期后打开会怎样
  • 企业网站的规划与建设纯静态网站开发
  • 静海集团网站建设网址收录查询
  • 怎样做网站的外链怎么做自己的网站
  • nas 建网站asp.net 做网站源代码
  • 做网站的详细步骤叫别人做网站权重被转移了
  • 做网站好还是网店做网站是怎样赚钱的
  • 国内网站 备案北京模板网站建站
  • 怎么建立网站?婚纱网站策划书模板下载
  • 接单子做网站词类似酷家乐做庭院的网站
  • 道路建设网站专题推广做黄页网站
  • 做展柜平时在哪里网站推广青岛原创工程设计有限公司
  • 网站建设加网络营销营销网站有多种类型