gpt4 book ai didi

c# - 将 C# 项目编译为 Unity3d 的 DLL

转载 作者:太空宇宙 更新时间:2023-11-03 23:24:27 26 4
gpt4 key购买 nike

据我所知,C# 项目可以以两种形式添加到 Unity3d。作为 DLL 或未编译的项目。

两者的优缺点是什么?它们可以跨平台工作 (Android/iOS/WinPhone) 吗?

要编译为 DLL - 我是否只使用 MonoDevelop 或 Visual Studio 新建类库项目并选择 .NET 3.5 并编译?

如何将未编译的项目添加到 Unity3d 中?

最佳答案

Will they work Cross platform(Android/iOS/WinPhone)?

是的。您可以在 Xamarin Studio/MonoDevelop/或 Visual Studio 中创建库项目。如果您不包含特定于平台的功能,那么它将是跨平台的。

To compile as DLL - Do I just use MonoDevelop or Visual Studio to new class library project and select .NET 3.5 and compile?

查看此 tutorial .

关于c# - 将 C# 项目编译为 Unity3d 的 DLL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34302278/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com