EntityStoreBase.Query_T1,T2_().md
July 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.EntityStoreBase
EntityStoreBase.Query<T1,T2>() Method
Create a reusable ArchetypeQuery for the given component types.
See Example.
public Friflo.Engine.ECS.ArchetypeQuery<T1,T2> Query<T1,T2>()
where T1 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType
where T2 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;
Type parameters
T1
T2