@modoki/engine / index / PrefabInstance
Variable: PrefabInstance
constPrefabInstance: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.