Exemplo n.º 1
0
        public static void LogError(string message)
        {
            if (!FoundModTools)
            {
                ExceptionDialog.Show(message);
            }

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

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

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

            var go = new GameObject("QuartzExceptionDialog");

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