Entities · interface

Prefab

Explained in Entities.

interface Prefab
import type { Prefab } from '@driftengine/entities';

Properties

NameTypeDescription
namereadonlystring
componentsreadonlyreadonly (readonly [ComponentType, Readonly<Record<string, unknown>>])[]