public static object TraceError(this object obj, object str) { Trace.Error(str); return(obj); }
public static object TraceDebug <T>(this Object obj, object str) { Trace.Debug(str); return(obj); }
// --------------------------------- public static T TraceError <T>(this T obj, object str) where T : UnityEngine.Object { Trace.Error(str); return(obj); }
public static T TraceDebug <T>(this T obj, object str) where T : UnityEngine.Object { Trace.Debug(str); return(obj); }