GetInheritedAlpha()
Get the final inherited alpha calculated by including all the parent alphas from included parent CanvasGroups.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public float GetInheritedAlpha()
Returns
Type | Description |
|---|---|
| float | The calculated inherited alpha. |
Remarks
Alpha is calculated by getting the alpha from all parent CanvasGroups (if GetIgnoreParentGroups is false) and multiplying the original alpha.