public static void LogException(Exception cMessage) { #if UNITY_EDITOR Debug.LogException(cMessage); #else #endif }
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)); } }