cocos_get_object_count
Count total objects in Cocos Creator scene or prefab JSON arrays to manage game assets and verify structure during automated development.
Instructions
Return the total number of objects in the scene/prefab JSON array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |