/// <summary> /// Creates a new <see cref="GUILayoutY"/> and adds it to the field layout. /// </summary> /// <param name="index">Index into the GUI layout at which the field layout start at.</param> /// <returns>Newly created layout.</returns> public GUILayoutY AddLayoutY(int index) { GUILayoutY layout = parentLayout.InsertLayoutY(index + elements.Count); elements.Add(layout); return(layout); }