Version: 2020.3
언어: 한국어
public static void EndArea ();

설명

Close a GUILayout block started with BeginArea.


Explained Area of the example.

using UnityEngine;

public class ExampleScript : MonoBehaviour { void OnGUI() { GUILayout.BeginArea(new Rect(10, 10, 100, 100)); GUILayout.Button("Click me"); GUILayout.Button("Or me"); // Ends the area started above GUILayout.EndArea(); } }