public static void LogError(string message)
        {
            if (!FoundModTools)
            {
                ExceptionDialog.Show(message);
            }

            Debug.LogError(message);
        }
        public static void LogErrorFormat(string message, params object[] args)
        {
            if (!FoundModTools)
            {
                ExceptionDialog.Show(String.Format(message, args));
            }

            Debug.LogErrorFormat(message, args);
        }
        public static void Show(string message)
        {
            if (CurrentDialog != null)
            {
                return;
            }

			var go = new GameObject("QuartzExceptionDialog");
            CurrentDialog = go.AddComponent<ExceptionDialog>();
            CurrentDialog.Message = message;
        }
        public static void Show(string message)
        {
            if (CurrentDialog != null)
            {
                return;
            }

            var go = new GameObject("QuartzExceptionDialog");

            CurrentDialog         = go.AddComponent <ExceptionDialog>();
            CurrentDialog.Message = message;
        }