【更新】Roslyn C# - Runtime Compiler 1.9.0
本帖最后由 微笑的猫 于 2024-10-28 16:28 编辑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.1下载链接
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# 可以在其他平台上正常运行,但我们只支持官方支持的平台。
页:
[1]