これだけ
void Update () {
var rays = Physics.SphereCastAll (transform.position, radius, Vector3.one, 10, 1, QueryTriggerInteraction.Ignore);
if (rays.Length == 1) {
//色々
}
if (rays.Length == 2) {
//色々
}
}