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 |
|---|---|
| FitToContents | The width of each toolbar button is calculated based on the width of its content. |
| Fixed | Calculates the button size by dividing the available width by the number of buttons. The minimum size is the maximum content width. |