GUILayoutEndVertical
GUILayoutEndVertical is a Unity GUI function used to close a vertical group that was previously started with GUILayoutBeginVertical. This function marks the end of a block of UI elements that are meant to be arranged vertically. When you use GUILayoutBeginVertical, you are essentially telling the Unity GUI system to lay out subsequent UI elements one after another in a downward direction. GUILayoutEndVertical signals that this vertical arrangement has concluded, and any UI elements defined after it will be placed according to the current layout context, which might be horizontal, a new vertical group, or a different layout element.
This function is crucial for creating structured and organized user interfaces within Unity. By pairing GUILayoutBeginVertical