| | 1 | | using DCL.Controllers; |
| | 2 | | using DCL.Models; |
| | 3 | |
|
| | 4 | | namespace DCL.ECSRuntime |
| | 5 | | { |
| | 6 | | public readonly struct ECSComponentsGroupData<TD1, TD2> |
| | 7 | | { |
| | 8 | | public readonly IECSReadOnlyComponentData<TD1> componentData1; |
| | 9 | | public readonly IECSReadOnlyComponentData<TD2> componentData2; |
| | 10 | | public readonly IParcelScene scene; |
| | 11 | | public readonly IDCLEntity entity; |
| | 12 | |
|
| | 13 | | public ECSComponentsGroupData(IParcelScene scene, IDCLEntity entity, |
| | 14 | | IECSReadOnlyComponentData<TD1> componentData1, |
| | 15 | | IECSReadOnlyComponentData<TD2> componentData2) |
| | 16 | | { |
| 19 | 17 | | this.scene = scene; |
| 19 | 18 | | this.entity = entity; |
| 19 | 19 | | this.componentData1 = componentData1; |
| 19 | 20 | | this.componentData2 = componentData2; |
| 19 | 21 | | } |
| | 22 | | } |
| | 23 | | } |