DriftScript bindings · type

ComponentRegistry

Components a host already registered, by the name a script writes.

Explained in Setting up scripts.

type ComponentRegistry = Map<string, ComponentType>
import type { ComponentRegistry } from '@driftengine/script';