Version: 2017.2

GUILayout.EndHorizontal

Switch to Manual
public static void EndHorizontal ();

Description

Закрывает группу, начатую с BeginHorizontal.


Horizontal Layout.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { GUILayout.BeginHorizontal("box"); GUILayout.Button("I'm the first button"); GUILayout.Button("I'm to the right"); GUILayout.EndHorizontal(); } }