static void Main(string[] args) { try { GameForm frm = new GameForm(); if (frm.IsDisposed) return; ProcessCommandLineArguments(args); EditorWindow.MinimumFrameLength = 1 / 60.0f; frm.Run(args); } catch (Exception e) { System.Windows.Forms.MessageBox.Show(e.ToString()); } }
static void Main(string[] args) { try { GameForm frm = new GameForm(); if (frm.IsDisposed) { return; } ProcessCommandLineArguments(args); EditorWindow.MinimumFrameLength = 1 / 60.0f; frm.Run(args); } catch (Exception e) { System.Windows.Forms.MessageBox.Show(e.ToString()); } }