Documentation

Unity Engine

Unity Engine

ImagePosition

How image and text is placed inside GUIStyle.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public enum ImagePosition

Fields

Value

Description

ImageAboveImage is above the text.
ImageLeftImage is to the left of the text.
ImageOnlyOnly the image is displayed.
ImageUpperLeftImage is to the upper left of the text.
TextOnlyOnly the text is displayed.