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