CSL_Traffic.RoadCustomizerTool.SegmentLaneMarker.IntersectRay C# (CSharp) Метод

IntersectRay() публичный Метод

public IntersectRay ( Ray ray ) : bool
ray UnityEngine.Ray
Результат bool
			public bool IntersectRay(Ray ray)
			{
				if (m_bounds == null)
					CalculateBounds();

				foreach (Bounds bounds in m_bounds)
				{
					if (bounds.IntersectRay(ray))
						return true;
				}

				return false;
			}
RoadCustomizerTool.SegmentLaneMarker