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.
Returns
Section titled “Returns”Entity | null