Delegate EntityAction<T1, T2>
- Namespace
- KeenEyes
- Assembly
- KeenEyes.Core.dll
Delegate for processing an entity with two components.
public delegate void EntityAction<T1, T2>(Entity entity, ref T1 c1, ref T2 c2) where T1 : struct, IComponent where T2 : struct, IComponent
Parameters
entityEntityThe entity being processed.
c1T1A reference to the first component instance.
c2T2A reference to the second component instance.
Type Parameters
T1First component type.
T2Second component type.