EasyEcs
API reference

World.Subtree

The descendants of an entity (World.Descendants): each foreach walks them anew.

public readonly ref struct Subtree

Nested in World.

The descendants of an entity (World.Descendants): each foreach walks them anew.

Methods

GetEnumerator

public World.DescendantWalk GetEnumerator();

A walk over the descendants (foreach support, no allocation once warm).

Exceptions

  • InvalidOperationException: The ChildOf links form a cycle (when the walk reaches it).
Edit on GitHub

Last updated on

How is this guide?

On this page