Unity3D使用System.Windows.Forms.dll
来源:互联网 发布:产品宣传册制作软件 编辑:程序博客网 时间:2024/05/05 23:33
using UnityEngine;using System.Collections;using System.Windows.Forms;public class Test : MonoBehaviour{ // Use this for initialization void Start() { } // Update is called once per frame void Update() { } void OnGUI() { if (GUI.Button(new Rect(0, 0, 100, 20), "Button")) { MessageBoxYesCancel("yes"); } } public static DialogResult MessageBoxYesCancel(string Information)//通用弹出式信息显示对话框方法(进行互操作)返回黄色感汉号 { string caption = "【系统提示】"; MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel; return MessageBox.Show(Information, caption, buttons, MessageBoxIcon.Question); } }
playersettings optimization api compatibility level .NET 2.0
需要添加引用System.Deployment
下载所需的两个dll
- Unity3D使用System.Windows.Forms.dll
- Unity3D使用System.Windows.Forms.dll的方法
- Unity-使用System.Windows.Forms.dll
- Unity3d调用system.windows.forms.dll使用OpenFileDialog打开文件选择窗口
- System.Windows.Forms.DataGridView的使用总结
- System.Windows.Forms.Cursor
- 'System.Threading.ThreadStateException' occurred in "System.Windows.Forms.dll " in opencv1.1 version
- An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
- AE10.0开发时 System.ComponentModel.LicenseException' occurred in system.windows.forms.dll
- System.ArgumentException 位于 System.Windows.Forms.dll 源对象不公开“IPropertyNotifySink”事件接口
- 在 System.Windows.Forms.DataGrid中切入使用ComboBox控件
- 关于.net中使用System.Windows.Forms.Timer的限制.
- C#中 使用 System.Windows.Forms.Time 定时器
- 使用System.Windows.Forms.Application.DoEvents实时更新画面
- System.Windows.Forms.Application.StartupPath
- System.Windows.Forms.AxHost+InvalidActiveXStateException
- System.Windows.Forms.Timer[C#]
- System.Windows.Forms.Application.DoEvents()
- 楼顶银装素裹的飞鸽传书
- 数学专项number_theory:LA 3262
- 3.14
- PAM SASL LDAP kerberos SSL辨析!
- 使用Spring框架的12个开源项目
- Unity3D使用System.Windows.Forms.dll
- switch在循环中时 可以用continue替代break
- ICMP - Destination Unreachable Message Analysis
- C++ 内存分配方式详解
- hdu4081 Qin Shi Huang's National Road System
- 编好设置
- Tachyon简介及目前可用性分析
- Linux workqueue工作原理
- 一道笔试题(扑克牌顺子)