脚本/功能 【更新】Roslyn C# - Runtime Compiler 1.7.2编译器

Unity插件信息
插件名称: Roslyn C# - Runtime Compiler
插件官网: https://assetstore.unity.com/packages/tools/integration/roslyn-c-runtime-compiler-142753
版本: 1.7.2
解压密码:
素材类型: 脚本/功能
本帖最后由 微笑的猫 于 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.3  下载链接
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小白兔 发表于 2022-11-22 21:37:33
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布3924

热门作品推荐
glow
City & Terrace Pack 9.0 现代城市高楼大厦
glow
【更新】Rhythm Game Starter - Create you
glow
【更新】Advanced Horror FPS Kit for Mobi
glow
Demolition Media Hap 0.9.6视频播放工具
glow
Forest Environment - Dynamic Nature 1.8.
glow
高质量手绘低模写实主城场景建筑物件山石模
glow
中国风武侠场景建筑圆盘法阵山石头花草树木
glow
手绘植物模型半写实花草地形3D模型
glow
仙侠风格雕像神兽玄武白虎石台雕塑石狮子
glow
45 Stylized Rock Pack 适配UE4.19-4.25-4.