cocos_add_progress_bar
Attach a progress bar component to Cocos Creator nodes for visual feedback on loading, health, or completion status with configurable orientation and fill options.
Instructions
Attach cc.ProgressBar. mode: 0=HORIZONTAL, 1=VERTICAL, 2=FILLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| bar_sprite_id | No | ||
| mode | No | ||
| total_length | No | ||
| progress | No | ||
| reverse | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |