文档

Unity Engine


User Manual

Script Reference

Unity Engine


StyleInt

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

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.