239のほうが手馴れてる感じするけど、わかりやすくかくならこうかな
float x, z;
if (0.5f>Random.value) {
x = Random.Range(-5.0f, 5.0f);
z = Random.Range(-5.0f, 5.0f);
}
else {
x = Random.Range(5.0f, 15.0f);
z = Random.Range(5.0f, 15.0f);
}
transform.position = new Vector3 (x, 0.0f, z);