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