Documentation

Unity Engine


User Manual

Script Reference

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 6 days ago

Definition

public BackgroundGradient gradient { get; set; }