Unity-使用System.Windows.Forms.dll
2016-11-15 00:12
295 查看
如题所示,做个记录给自己
2016-11-15,Unity5.4.1p3,Visual Studio2015的组合。
想要实现使用Windows的打开文件对话框的功能,遭遇种种错误,附上解决方法。
1.到 ...\Editor\Data\Mono\lib\mono\2.0目录中将System.Windows.Forms.dll复制到相关工程的 ...Assets\Plugins\目录下。
2.修改Edit -> Project Settings -> Player->Other Setting中的API Compatibility Level为.Net 2.0。
3.添加Dll引用,using命名空间。
2016-11-15,Unity5.4.1p3,Visual Studio2015的组合。
想要实现使用Windows的打开文件对话框的功能,遭遇种种错误,附上解决方法。
1.到 ...\Editor\Data\Mono\lib\mono\2.0目录中将System.Windows.Forms.dll复制到相关工程的 ...Assets\Plugins\目录下。
2.修改Edit -> Project Settings -> Player->Other Setting中的API Compatibility Level为.Net 2.0。
3.添加Dll引用,using命名空间。
相关文章推荐
- Unity3D使用System.Windows.Forms.dll
- Unity3d调用system.windows.forms.dll使用OpenFileDialog打开文件选择窗口
- Unity3D使用System.Windows.Forms.dll的方法
- .net chart(图表)控件的使用-System.Windows.Forms.DataVisualization.dll
- System.Windows.Forms.DataGridView的使用总结
- !!! C++/CLI中使用using namespace System::Windows::Forms;+MessageBox报错---最重要的是看MSDN 每个函数的使用例子
- Unity 安卓下使用串口提示:System.DllNotFoundException: MonoPosixHelper的解决办法
- An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
- C#中 使用 System.Windows.Forms.Time 定时器
- System.ArgumentException 位于 System.Windows.Forms.dll 源对象不公开“IPropertyNotifySink”事件接口
- 使用System.Windows.Forms.Application.DoEvents实时更新画面
- 在 System.Windows.Forms.DataGrid中切入使用ComboBox控件
- 'System.Threading.ThreadStateException' occurred in "System.Windows.Forms.dll " in opencv1.1 version
- unity, windows: Unhandled Exception: System.UnauthorizedAccessException: Access to the path "XXX\Temp\Assembly-CSharp.dll.mdb" is denied
- System.windows.forms.datagrid控件使用技巧
- System.Windows.Forms.PropertyGrid的使用
- AE10.0开发时 System.ComponentModel.LicenseException' occurred in system.windows.forms.dll
- Unity 读取、写入自定义路径文件,调用System.Windows.Forms
- “FormCRUD.csProj.FormMain.Name”隐藏了继承的成员“System.Windows.Forms.Control.Name”。如果是有意隐藏,请使用关键字 new。
- 关于.net中使用System.Windows.Forms.Timer的限制.