@modoki/engine / index / ClipBankEntry
Interface: ClipBankEntry
Parse an AudioSource.clips bank — a JSON-string [{ "key", "ref" }, …] (key → audio GUID). A JSON-string SCALAR (like Collider2D.points) keeps the bank boundary-safe (opaque to serialize/undo/prefab), so this is the ONE place that decodes it. Guarded: any malformed / non-array / bad-entry input → [] (never throws). Entries missing a string key/ref are dropped.
Audio
key
key:
string
ref
ref:
string