文档

Unity Engine

Unity Engine

StyleInt

Style value that can be either an integer or a StyleKeyword.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct StyleInt : IStyleValue<int>, IEquatable<StyleInt>

Constructors

Constructor

Description

StyleInt(System.Int32)Creates from either an integer or StyleKeyword.
StyleInt(UnityEngine.UIElements.StyleKeyword)Creates from either an integer or StyleKeyword.

Properties

Property

Description

keywordThe style keyword.
valueThe integer value.