Version: 2017.3
public static void EndHorizontal ();

Descripción

Close a group started with 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(); } }