After much dicking around I managed to get the Update method triggered on my
public class TileProcessor: EntityProcessor<TileComponent> {
public override void Update(GameTime time) {}
}
Apparently if you add the following attribute to your EntityComponent it gets picked up automagically
[DefaultEntityComponentProcessor(typeof(TileProcessor))]
public class TileComponent : EntityComponent {}
Is there a way to explicitly add an EntityProcessor to the registry (EntityManager if I’m not mistaken)?
I feel the attribute is a bit against how you’re supposed to use the system, but maybe that’s because I’m still learning.
Once I get comfortable with how the ECS is implemented in Xenko, I would like to edit a few pages on the docs. This is a rather essential part of the engine that is, in my opinion, is rather under-documented 