YwDebug.LogException C# (CSharp) Method

LogException() public static method

public static LogException ( Exception cMessage ) : void
cMessage Exception
return void
    public static void LogException(Exception cMessage)
    {
        #if UNITY_EDITOR
        Debug.LogException(cMessage);
        #else

        #endif
    }

Usage Example

示例#1
0
 static public int LogException_s(IntPtr l)
 {
     try {
         System.Exception a1;
         checkType(l, 1, out a1);
         YwDebug.LogException(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }