Documentation

Unity Engine


Unity Engine


Prefab

Marks the entity as a prefab, which implicitly disables the entity.
Read time 1 minuteLast updated a day ago

Definition

public struct Prefab : IComponentData, IQueryTypeParameter

Remarks

By default, an EntityQuery ignores all entities that have a Prefab component. You can override this default behavior by setting the EntityQueryOptions.IncludePrefab flag of the EntityQueryDesc object used to create the query.