{"id":895,"date":"2012-05-12T22:57:20","date_gmt":"2012-05-12T19:57:20","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=895"},"modified":"2014-06-15T02:49:33","modified_gmt":"2014-06-14T23:49:33","slug":"using-windows-messagebox-forms","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2012\/05\/12\/using-windows-messagebox-forms\/","title":{"rendered":"Using Windows MessageBox(&#8220;test&#8221;)"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"896\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2012\/05\/12\/using-windows-messagebox-forms\/windows_messagebox_unity\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/05\/windows_messagebox_unity.jpg?fit=680%2C524&amp;ssl=1\" data-orig-size=\"680,524\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"windows_messagebox_unity\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/05\/windows_messagebox_unity.jpg?fit=680%2C524&amp;ssl=1\" class=\"alignnone size-full wp-image-896\" title=\"windows_messagebox_unity\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/05\/windows_messagebox_unity.jpg?resize=680%2C524\" alt=\"\" width=\"680\" height=\"524\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/05\/windows_messagebox_unity.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/05\/windows_messagebox_unity.jpg?resize=300%2C231&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>Need to make a FileDialog popup for standalone exe, for selecting image files.<\/p>\n<p>Atleast got MessageBox working now..<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Webplayer:<\/strong><br \/>\nDoesnt work on webplayer..<\/p>\n<p><strong>Info:<br \/>\n<\/strong>&#8211; Copy &#8220;System.Windows.Forms.dll&#8221; into Assets\/Plugins\/ folder<br \/>\n&#8211; Then use it from script:<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\nusing System.Windows.Forms;\r\n\r\n..\r\n\r\n\u00a0\u00a0\u00a0 void Start () {\r\n\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0MessageBox.Show(&quot;test&quot;);\r\n}\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need to make a FileDialog popup for standalone exe, for selecting image files. Atleast got MessageBox working now.. &nbsp; Webplayer: Doesnt work on webplayer.. Info: &#8211; Copy &#8220;System.Windows.Forms.dll&#8221; into Assets\/Plugins\/ folder &#8211; Then use it from script: using System.Windows.Forms; .. \u00a0\u00a0\u00a0 void Start () { [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":896,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[238,234,236,237,235],"class_list":["post-895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-filedialog","tag-forms","tag-messagebox","tag-popup","tag-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2012\/05\/windows_messagebox_unity.jpg?fit=680%2C524&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-er","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":4,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"predecessor-version":[{"id":3004,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/895\/revisions\/3004"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/896"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}