EntityProcessingSystem不能与Type Arguments一起使用

时间:2014-03-14 22:05:19

标签: c# generic-type-argument entity-system artemis

我正在使用Artemis并尝试扩展EntityProcessingSystem<SpatialForm, Transform>。但是,它告诉我The non-generic type 'Artemis.System.EntityProcessingSystem' cannot be used with type arguments;但是,它必须与类型参数一起使用。知道这里发生了什么吗?

我正在使用Artemis - https://github.com/thelinuxlich/artemis_CSharp 和StarWarrior作为我的教程 - https://github.com/thelinuxlich/starwarrior_CSharp

1 个答案:

答案 0 :(得分:0)

这个问题迟到了,但对于其他人来说也有同样的问题。

见:[Github论坛] [1]

的问题
public class RenderSystem : EntityProcessingSystem<SpatialFormComponent, TransformComponent>

至少它让我的项目超越了这一点。

相关问题