public Vector3 RandomPosition()
{
// Random position on supermarket floor
Vector3 randomLocation = new Vector3(Random.Range(minFloorBounds.x, maxFloorBounds.x), 0, Random.Range(minFloorBounds.z, maxFloorBounds.z));
// Adjusting the random position to be on the navmesh
NavMeshHit hit;
NavMesh.SamplePosition(randomLocation, out hit, 20.0f, 1);
return hit.position;
}