LazyBot/Assets/Scripts/Searching/Detection/DetectionAreaContainer.cs
/// <summary>
/// Returns position of specific area in scene.
/// </summary>
/// <param name="index">index of area</param>
/// <returns>Position in scene</returns>
Returns position of specific area in scene.
Returns position of specific area in scene .
public Transform GetPointTransform(int index)
        {
            if (index >= _tracingAreas.Length && index < 0)
                return null;
            return _tracingAreas[index].transform;
        }
public Transform GetPointTransform ( int index ) { if ( index >= _tracingAreas . Length && index < 0 ) return null ; return _tracingAreas [ index ] . transform ; }
Returns position of specific area in scene.
Returns position of specific area in scene .
Position in scene
Position in scene
index
int
index of area
index of area