TextAutoSize
Setting controls automatic font‑size adjustment.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<TextAutoSize>
public struct TextAutoSize : IEquatable<TextAutoSize>
Properties
Property | Description |
|---|---|
| maxSize | Upper font‑size limit used when _mode is TextAutoSizeMode.BestFit. |
| minSize | Lower font‑size limit used when _mode is TextAutoSizeMode.BestFit. |
| mode | None – keep the explicit |
Static Methods
Method | Description |
|---|---|
| None | Returns a preset with auto‑sizing disabled. |