脚本/功能 【更新】Roslyn C# - Runtime Compiler 1.7.3运行时编译

Unity插件信息
插件名称: Roslyn C# - Runtime Compiler
插件官网: https://assetstore.unity.com/packages/tools/integration/roslyn-c-runtime-compiler-142753
版本: 1.7.3
解压密码:
素材类型: 脚本/功能
本帖最后由 微笑的猫 于 2024-1-8 14:26 编辑


Roslyn C# - Runtime Compiler系列索引

Roslyn C# - Runtime Compiler 1.6.4  下载链接
Roslyn C# - Runtime Compiler 1.7.1  下载链接
Roslyn C# - Runtime Compiler 1.7.2  下载链接
Roslyn C# - Runtime Compiler 1.8.1  下载链接










*Requires .Net 4.x or .Net standard API compatibility level
Roslyn C# allows runtime loading of assemblies and C# scripts using the Roslyn compiler making it easy to add modding support or in-game programming to your project. In addition, Roslyn C# also includes code security verification that allows you to specify a number of security restrictions that loaded code must adhere to including illegal namespaces and types. This makes it much safer to load 3rd party code from unknown sources.

Includes a small programming based game where the objective is to navigate a mouse out of a maze by writing code that performs the direction decision making.

Features
-Compile and run C# scripts at runtime
-Leverage the latest C# language features using the Roslyn C# compiler
-Fast execution. Once compiled, external scripts will run as fast as game scripts
-Allows modding support to be added easily
-Code security validation means that unsafe code can be identified and discarded
-Code security generates a detailed report upon failure containing information about illegal types used and every usage occurrence in the external code
-Simple and easy to use API for assembly, type and instance reflection
-Support for non-concrete communication using script proxies
-Automatic type construction using correct method (AddComponent, CreateInstance, new)
-Cached member tables for quick reflection
-All scripts and example are organised into namespaces to avoid type name clashes
-Fully commented partial C# source code included
-Comprehensive .chm documentation of the API for quick and easy reference

Platforms
Support for PC, Mac and Linux platforms.

Roslyn C# may work on other platforms without issue however we will only offer support for the officially supported platforms.

Android
Android is not officially supported however, many users have had success getting the asset to run on Android by following these steps


*需要.Net 4.x或.Net标准API兼容级别
Roslyn C#允许使用Roslyn编译器在运行时加载程序集和C#脚本,这使得你可以很容易地在你的项目中添加修改支持或游戏中的编程。此外,Roslyn C#还包括代码安全验证,允许你指定一些加载的代码必须遵守的安全限制,包括非法命名空间和类型。这使得从未知来源加载第三方代码变得更加安全。

包括一个基于编程的小游戏,目标是通过编写执行方向决策的代码,将鼠标从迷宫中导航出来。

特点
-在运行时编译和运行C#脚本
-利用Roslyn C#编译器的最新C#语言特性
-快速执行。一旦编译完成,外部脚本将像游戏脚本一样快速运行。
-允许轻松地添加modding支持
-代码安全验证意味着不安全的代码可以被识别和丢弃
-代码安全在失败后会生成一份详细的报告,其中包含所使用的非法类型和外部代码中的每一个用法的信息。
-简单和易于使用的API用于汇编、类型和实例反射
-支持使用脚本代理的非具体通信
-使用正确的方法(AddComponent, CreateInstance, new)自动构建类型。
-缓存的成员表用于快速反射
-所有的脚本和例子都被组织到命名空间中,以避免类型名称冲突
-包含完整评论的部分C#源代码
-全面的API的.chm文档,便于快速和简单的参考

平台
支持PC、Mac和Linux平台。

Roslyn C#可以在其他平台上正常工作,但是我们只对官方支持的平台提供支持。

安卓
Android没有得到官方的支持,但是,许多用户通过以下步骤成功地使资产在Android上运行





作者 cg小白兔 发表于 2023-2-24 10:05:15
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布6988

热门作品推荐
glow
《穿墙透壁--剖视中国经典古建筑》手绘图民
glow
明代画家文徵明150幅绘画作品山水诗画兰竹
glow
实时动画渲染Reallusion iClone 8.02 + Cha
glow
Autodesk 3DS MAX 2024.2 中文英文多语言破
glow
Autodesk Flame 2024 Mac破解版
glow
布料凹痕褶皱折痕笔刷Zbrush 12 Cloth Brus
glow
高质量木材损坏纹理43 wood damage alphas
glow
高质量无缝树皮雕刻笔刷Ultra HQ Tree Bark
glow
5幅沙地位移图ZBrush/Mudbox - Sand Displa
glow
逼真细节粘土纹理5 Scanned Clay Alphas 01