- Home /
Menu button to open a "Open file dialog"?
I'm trying to get a menu button to trigger an "Open file dialog" when pressed but can't figure it out. I see you need to have a script that does the open file dialog under Assets/Editor so can I have a class that does the open file dialog there and call that class from my script that will have the button the user will click on?
Thanks in advance.
Comment
Answer by simplyRubbish · Dec 31, 2011 at 04:41 AM
Nevermind, I thought I had to have a seperate script do this for me but I can called the open file dialog from my mainmenu script.