cocos_add_ui_opacity
Add opacity control to UI elements in Cocos Creator for creating fade animations, with values from 0 (invisible) to 255 (opaque).
Instructions
Attach cc.UIOpacity (0=invisible, 255=opaque). Required for fade animations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| opacity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |