文档

Unity Engine


User Manual

Script Reference

Unity Engine


opacity

Specifies the transparency of an element and of its children.
阅读时间1 分钟最后更新于 24 天前

Definition

float opacity { get; }

Remarks

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