Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleFloat

Style value that can be either a float or a StyleKeyword.
Read time 1 minuteLast updated 7 days ago

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.