Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useParentEntity

useParentEntity(): Entity | null

The nearest enclosing Entity’s koota entity, or null at the scene’s root: what a component that may stand inside an Entity or alone reads, as <Match> takes its Entity for the match. useEntity throws where there is none. As Unity’s GetComponentInParent.

Entity | null