Version: 2017.3
public static void EndArea ();

Description

Закрывает блок GUILayout, начатый с BeginArea.


Explained Area of the example.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { GUILayout.BeginArea(new Rect(10, 10, 100, 100)); GUILayout.Button("Click me"); GUILayout.Button("Or me"); GUILayout.EndArea(); } }