Table of Contents

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

entity Entity

The entity being processed.

c1 T1

A reference to the first component instance.

c2 T2

A reference to the second component instance.

Type Parameters

T1

First component type.

T2

Second component type.