unity point between two positions code example Example: unity point between two positions Vector3 medianPoint = (position1 + position2) / 2f;