- Home /
Show dialog
Hi, I would like to show an error dialog in my unity game. The error dialog should be the standard pop up dialog in case of HW failure etc. I would like to use it for the same reason.
Any ideas?
Thanks
Doesn't Unity provide one already? Why do you want to invoke an error dialogue?
$$anonymous$$g. in case of HW failure. The device just throws an exception but Unity still runs. I would like to throw an error dialog in this case. I don't want to deal with this internally (some GUI or anything)
I'm not talking about GUI here. Are you expecting a lot of errors? In that case, don't you have other things to be worrying about?
What device are we talking about here? Does the exception propagate to Unity, i.e. can you catch it within Unity? If so, why not just draw a GUI.Window and stick the Exception's message in a Label inside that window?
Thanks, I could have done it this way of course. I can catch the exception inside unity. I was thinking more about just showing error dialog and a close button and close the application. It would make life simpler.
Your answer
Follow this Question
Related Questions
Custom Resolution Dialog at Start? 1 Answer
Best way to make a Quiz system? 0 Answers
Modal Dialog 0 Answers
Editor Window with List input of Texture2D 0 Answers
Pop up window 0 Answers