UnityEngine.UnhandledExceptionHandler.PrintException C# (CSharp) 메소드

PrintException() 개인적인 정적인 메소드

private static PrintException ( string title, Exception e ) : void
title string
e System.Exception
리턴 void
        private static void PrintException(string title, Exception e)
        {
            Debug.LogException(e);
            if (e.InnerException != null)
            {
                PrintException("Inner Exception: ", e.InnerException);
            }
        }

Usage Example

예제 #1
0
 private static void PrintException(string title, Exception e)
 {
     Debug.LogException(e);
     if (e.InnerException != null)
     {
         UnhandledExceptionHandler.PrintException("Inner Exception: ", e.InnerException);
     }
 }
All Usage Examples Of UnityEngine.UnhandledExceptionHandler::PrintException