/// <summary> /// Prints the debug log. /// </summary> /// <param name="_log">Log.</param> public void PrintDebugLog(ICEOwnerObject _object, string _log) { #if UNITY_EDITOR if (DebugLogIsEnabled) { ICEDebug.Log(OwnerName + " (" + OwnerInstanceID + ") - " + (_object != null?_object.GetType().ToString() + " ":"") + _log); } #endif }
public void PrintErrorLog(ICEOwnerObject _object, string _log) { #if UNITY_EDITOR ICEDebug.LogError(OwnerName + " (" + OwnerInstanceID + ") - " + (_object != null?_object.GetType().ToString() + " ":"") + _log); #endif }