Ejemplo n.º 1
0
        /// <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
        }
Ejemplo n.º 2
0
        public void PrintErrorLog(ICEOwnerObject _object, string _log)
        {
#if UNITY_EDITOR
            ICEDebug.LogError(OwnerName + " (" + OwnerInstanceID + ") - " + (_object != null?_object.GetType().ToString() + " ":"") + _log);
#endif
        }