May
12
2012
12
2012
Using Windows MessageBox(“test”)
An article by mgear
4 Comments
Need to make a FileDialog popup for standalone exe, for selecting image files.
Atleast got MessageBox working now..
Webplayer:
Doesnt work on webplayer..
Info:
– Copy “System.Windows.Forms.dll” into Assets/Plugins/ folder
– Then use it from script:
using System.Windows.Forms; .. void Start () { MessageBox.Show("test"); }
Related Posts
4 Comments + Add Comment
Leave a comment
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on
@unitycoder_com
My TweetsSubscribe to Blog via Email
Tag Cloud
2d
3D
AI
algorithm
android
asset
build
color
custom
demo
editor
effect
error
fake
free
game
generator
greasemonkey
indie
javascript
light
line
ludumdare
mesh
paint
particles
physics
plugin
proto
prototype
script
sea
shader
shadow
sprite
terrain
texture
tutorial
ui
unity
vertex
visibility
water
waves
webgl
That looks like a Web-From to me… any change you stumbled onto a way to get WPF integrated ?
Supposedly there should be some way, but didnt get it working yet.. it compiles fine, but crashes..
http://forum.unity3d.com/threads/117990-Getting-windows-open-file-dialog-browser-to-open
But most of the topics are saying, use the dialog script from unifycommunity..
Interestingly the MessageBox works, using unity indie, copied some windows dll files to “plugins” folder.. (there was a topic on that in unity answers, I dont have the link right now..)
Hey,
can you pls tell me how thats work ?
You simply put the System.Windows.Forms.dll and System.Deployment.dll from C:/Windows/Microsoft.NET and then the latest version v4.0 you find them there drag them into the plugins folder in your unity project and then you can start using the messagebox function and also build it without having issues