Log inGet started

bundle

The bundle namespace — the engine's Luau API reference for bundle.

The bundle namespace — 2 functions.

globals/bundle/installInto

globals/bundle/installInto(bundleNamespace: BundleNamespace)

Install update onto the supplied bundle-shaped namespace. The prelude calls this once at boot with the engine's bundle global; users shouldn't call it directly.

globals/bundle/update

globals/bundle/update(entityId: string, bundleRef: BundleRef?) -> any

Re-compose a bundle from an entity's current hierarchy and write it back to the bundle's on-disk path. The VFS write triggers the engine's generic asset hot-reload pipeline, which fires onAssetReload(field) on every component subscribed to this bundle's guid via a declared asset field — those components reconcile per their own policy.

  • api
  • reference