文档

Unity Engine

Unity Engine

StyleFloat

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

Definition

public struct StyleFloat : IStyleValue<float>, IEquatable<StyleFloat>

Constructors

Constructor

Description

StyleFloat(System.Single)Creates from either a float or a StyleKeyword.
StyleFloat(UnityEngine.UIElements.StyleKeyword)Creates from either a float or a StyleKeyword.

Properties

Property

Description

keywordThe style keyword.
valueThe float value.