Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


opacity

Specifies the transparency of an element and of its children.
Read time 1 minuteLast updated 11 days ago

Definition

float opacity { get; }

Remarks

The opacity can be between 0.0 and 1.0. The lower value, the more transparent.