DemoManifest — single source of truth loader. Reads res://demos/demo_manifest.json and exposes typed accessors for consumers that need to enumerate shipped demos. Centralises the catalog path list that was previously hard-coded in catalog_entry_validity_test.gd, demo_e2e_coverage_parity_test.gd, placement_catalog_verify_test.gd, build_demo_catalogs.py, and catalog_driven_ui_test.gd. Adding a shipped demo now requires: 1. Create the demo's directory under res://demos// 2. Author its catalog and place it at the path you declare here 3. Add a row to demos/demo_manifest.json 4. Run the suite; manifest_audit_test.gd fails if the tree and the manifest disagree
Source: addons/grid_placement/demo/demo_manifest.gd
Syntax
class DemoManifest extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
MANIFEST_PATH | Field | |
id | Property | |
title | Property | |
dimensions | Property | |
shipped | Property | |
internal_only | Property | |
catalog | Property | |
catalog_settings_dir | Property | |
scene_dir | Property | |
all_demos | Method | |
out | Property | |
manifest | Property | |
shipped_demos | Method | |
out | Property | |
internal_demos | Method | |
out | Property | |
demo_by_id | Method | |
catalog_paths | Method | |
out | Property | |
catalog_path_list | Method | |
out | Property | |
f | Property | |
raw | Property | |
parsed | Property | |
d | Property |
Source
addons/grid_placement/demo/demo_manifest.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs