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