ドキュメント

Unity Engine

Unity Engine

GUI.ToolbarButtonSize

Determines how toolbar button size is calculated.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public enum GUI.ToolbarButtonSize

Fields

Value

Description

FitToContentsThe width of each toolbar button is calculated based on the width of its content.
FixedCalculates the button size by dividing the available width by the number of buttons. The minimum size is the maximum content width.