全局透明度: &透明度 0.8
controls:
转data:
val: "data"
type: Canvas
attribute:
alpha: *透明度
adaptive:
type: adaptive
attribute:
point: ~bottom_left
width: 1920
height: 1080
children:
组件:
type: texture
attribute:
width: 700
height: 400
normal: ~255,255,255
alpha: 0.8*val.data.alpha