Finding Components

Packages

  • Nuget (with prereleases)

Entity Component Search Extensions

Find Component in children and self:

//Find component in self or children
var model = this.Entity.GetComponentInChildrenAndSelf<ModelComponent>();
//Find all components in self and children
var models = this.Entity.GetComponentInChildrenAndSelf<ModelComponent>();