} // log debug public static void Loger(string level, string message, System.Object obj) { switch (level) { case "0": UnityEngine.Debug.Log("@" + DateTime.Now.ToLongTimeString() + "-" + ClassMethodString(4) + "\n" + message); break; case "1": UnityEngine.Debug.LogError(message); break; case "2": UnityEngine.Debug.LogWarning(message); break; case "3": try { UnityEngine.Debug.Log("+" + (DateTime.Now - TMsingleton.gmStart).Milliseconds + "-" + ClassMethodString(4) + "\n" + message + "\n" + obj.Status()); } catch (Exception ex) { U.Log(ex.ToString()); } break; default: break; } }