cocos_add_page_view
Add swipeable page navigation to Cocos Creator scenes. Configure horizontal or vertical scrolling direction, page turning speed, and scroll threshold for interactive UI components.
Instructions
Attach cc.PageView (swipeable pages). direction: 0=H, 1=V.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| content_id | No | ||
| direction | No | ||
| scroll_threshold | No | ||
| page_turning_speed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |