Skip to content

IEntityWorld.FindEntity(Func) Method

Definition

Namespace: Brine2D.ECS

Finds the first entity that matches the specified predicate.

Brine2D.ECS.Entity? FindEntity(System.Func<Brine2D.ECS.Entity,bool> predicate);

Parameters

predicate System.Func<Entity,System.Boolean>

Returns

Entity