Documentation

Unity Engine

Download Unity

Unity Engine

value

The style value.
Read time 1 minuteLast updated 13 days ago

Definition

public List<T> value { get; set; }

Remarks

A list read from VisualElement.style is a copy. To change the style, modify the list and assign it back. The element stores its own copy of an assigned list, so later changes to that list have no effect until it is assigned again.