Documentation

Unity Engine

Download Unity

Unity Engine

value

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

Definition

public Background value { get; set; }

Remarks

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