脚本/功能 【更新】Roslyn C# - Runtime Compiler 1.9.1运行时代码编译插件

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


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.7.3  下载链接
Roslyn C# - Runtime Compiler 1.8.1  下载链接
Roslyn C# - Runtime Compiler 1.9.0  下载链接

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.



Roslyn C# 允许使用 Roslyn 编译器在运行时加载程序集和 C# 脚本,从而轻松为项目添加修改支持或游戏内编程。此外,Roslyn C# 还包含代码安全验证功能,可指定加载代码必须遵守的一系列安全限制,包括非法命名空间和类型。这使得加载未知来源的第三方代码更加安全。

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

功能
-在运行时编译和运行 C# 脚本
-使用 Roslyn C# 编译器,利用最新的 C# 语言功能
-快速执行。编译后,外部脚本的运行速度与游戏脚本一样快
-可轻松添加修改支持
-代码安全验证意味着可以识别并丢弃不安全的代码
-代码安全验证失败后会生成一份详细报告,其中包含所使用的非法类型以及外部代码中出现的每种用法的信息
-用于汇编、类型和实例反射的 API 简单易用
-支持使用脚本代理进行非具体通信
-使用正确的方法(AddComponent、CreateInstance、new)自动构建类型
-用于快速反映的缓存成员表
-所有脚本和示例都归入命名空间,以避免类型名称冲突
-包含完整注释的部分 C# 源代码
-全面的 API .chm 文档,便于快速参考

平台
支持 PC、Mac 和 Linux 平台。
Roslyn C# 可以在其他平台上正常运行,但我们只支持官方支持的平台。




作者 cg小白兔 发表于 2024-10-28 10:18:43
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布7457

热门作品推荐
glow
中国古风家具30个中式古代灯笼吊灯宫灯台灯
glow
Frozen GUI Pack 1.7 冬季冰雪主题游戏UI界
glow
中国风古典边框中式花纹样祥云PSD图案PNG素
glow
Sand VFX 适配UE5.0+风沙漠沙子撞击沙地冲
glow
Voyager Third Person Shooter V2 2.0.1 适
glow
Tornado Generator - Niagara Fluids 适配U
glow
Nuclear winter 适配UE5.2+末日后世界苏联
glow
Snapping Helper 1.41 适配UE5.5
glow
High school Science Lab Classroom - 90&#
glow
Survival Man 适配UE5.5+生存游戏男性幸存