LazyBot/Assets/Scripts/Searching/Detection/DetectionAreaContainer.cs
/// <summary>
/// Stitches activation state of specific area.
/// </summary>
/// <param name="index">index of area</param>
/// <param name="isActive">activation state</param>
Stitches activation state of specific area.
Stitches activation state of specific area .
public void SwitchArea(int index, bool isActive)
        {
            if (!enabled) return;
            _tracingAreas[index].enabled = isActive;
        }
public void SwitchArea ( int index , bool isActive ) { if ( ! enabled ) return ; _tracingAreas [ index ] . enabled = isActive ; }
Stitches activation state of specific area.
Stitches activation state of specific area .
index
int
index of area
index of area
isActive
bool
None