Documentation

Unity Engine

Unity Engine

gradient

The color gradient to display as a background, mutually exclusive with the asset slots. Setting an empty gradient (see BackgroundGradient.IsEmpty ) clears the slot without disturbing any assigned asset.
Read time 1 minuteLast updated 2 months ago

Definition

public BackgroundGradient gradient { get; set; }