StyleColor
Style value that can be either a Color or a StyleKeyword.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IStyleValue<Color>, IEquatable<StyleColor>
public struct StyleColor : IStyleValue<Color>, IEquatable<StyleColor>
Constructors
Constructor | Description |
|---|---|
| StyleColor(UnityEngine.Color) | Creates from either a Color or StyleKeyword. |
| StyleColor(UnityEngine.UIElements.StyleKeyword) | Creates from either a Color or StyleKeyword. |