فهرست منبع

Add part about non-default processors

Raphael Schmitz 2 سال پیش
والد
کامیت
a394cf4548
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      en/manual/engine/entity-component-model/usage.md

+ 9 - 0
en/manual/engine/entity-component-model/usage.md

@@ -100,6 +100,15 @@ public class MyProcessor : EntityProcessor<MyComponent>
 ```
 ```
 
 
 
 
+### Non-default Processors
+Adding processors for a type of component via the attribute `DefaultEntityComponentProcessor`  
+has been explained above. However, as the name implies, this is for the _default_ processor.  
+Non-default processors can also be added via
+```csharp
+EntityManager.Processors.Add(entityProcessor);
+```
+
+
 ### Separation of EntityComponent and Data
 ### Separation of EntityComponent and Data
 
 
 `EntityProcessor<TComponent>` is a shortcut for `EntityProcessor<TComponent, TComponent>`.
 `EntityProcessor<TComponent>` is a shortcut for `EntityProcessor<TComponent, TComponent>`.