Example #1
0
 public void PrintError(string _log)
 {
     if (UseDebugLogs)
     {
         ICEDebug.LogError(name + " (" + ObjectInstanceID + ") - " + _log);
     }
 }
Example #2
0
        public void DebugRay(Vector3 _origin, Vector3 _direction, Color _color)
        {
#if UNITY_EDITOR
            if (DebugRayIsEnabled)
            {
                ICEDebug.DrawRay(_origin, _direction, _color);
            }
#endif
        }
Example #3
0
        public void DebugLine(Vector3 _from, Vector3 _to, Color _color)
        {
#if UNITY_EDITOR
            if (DebugRayIsEnabled)
            {
                ICEDebug.DrawLine(_from, _to, _color);
            }
#endif
        }
Example #4
0
        public void PrintDebugLog(string _log)
        {
#if UNITY_EDITOR
            if (DebugLogIsEnabled)
            {
                ICEDebug.Log(name + " (" + ObjectInstanceID + ") - " + _log);
            }
#endif
        }