Skip to content

@modoki/engine / index / PrefabInstance

Variable: PrefabInstance

const PrefabInstance: Trait<{ localId: number; parentLocalId: number; rootInstanceId: number; source: string; }>

Marks an entity as part of a prefab instance. Every entity spawned from a prefab gets this trait.

Built with Modoki.