Random.insideUnitSphere: 180° possible?

Hey there,
instead of picking a random vector3 inside the unit sphere I want to pick a vector3 in only 180° in front of the player instead of the 360° that come with the Random.insideUnitySphere. It’s for a random AI movement and I don’t want the AI to walk in one direction and in the next frame in the opposite direction :smiley:

Thank you

var randomPoint = Random.insideUnitSphere;
randomPoint.z = Mathf.Abs (randomPoint.z);
randomPoint = transform.TransformPoint (randomPoint);