脚本/功能 【更新】Roslyn C# - Runtime Compiler 1.8.1

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


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# 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-1-8 12:24:34
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布4050

热门作品推荐
glow
Amplify Shader Editor 1.8.1 Unity3d材质
glow
【更新】A Pathfinding Project Pro 5.0.6
glow
C4D中世纪木质道具高品质栅栏桌椅板凳木箱
glow
Clayxels 1.9 雕刻模型工具
glow
Shader World procedural landscape, ocea
glow
Shader World procedural landscape, ocea
glow
Tree Felling System 适配UE5.1
glow
Photoscanned Trash Vol. 1 by Unimodels
glow
魔兽中的怪物模型合集下载
glow
Essential Sword & Shield Animation Pack