Scripting API

StyleLength

struct in UnityEngine.UIElements · UnityEngine.UIElementsModule

9 of 9 of Unity's membersUnity's documentation

Constructors 1

Properties 2

StyleKeyword keyword { get; set; }
Length value { get; set; }

Methods 3

bool Equals(StyleLength other)
bool Equals(object? obj)
int GetHashCode()
string ToString()

Operators 3

static implicit operator StyleLength(StyleKeyword keyword)
static implicit operator StyleLength(float v)
static implicit operator StyleLength(Length v)
static bool operator !=(StyleLength a, StyleLength b)
static bool operator ==(StyleLength a, StyleLength b)