Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GUILayoutUtility

Utility functions for implementing and extending the GUILayout class.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public class GUILayoutUtility

Remarks

Use this class to make your own GUI layouting code.

Static Methods

Method

Description

GetAspectRectReserve layout space for a rectangle with a specific aspect ratio.
GetLastRectGet the rectangle last used by GUILayout for a control.
GetRectReserve layout space for a rectangle with a fixed content area.