Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleInt

Style value that can be either an integer or a StyleKeyword.
Read time 1 minuteLast updated 6 days ago

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.