Browse Source

Change code example

Raphael Schmitz 2 years ago
parent
commit
968bf91459
1 changed files with 1 additions and 1 deletions
  1. 1 1
      en/manual/engine/entity-component-model/usage.md

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

@@ -105,7 +105,7 @@ Adding processors for a type of component via the attribute `DefaultEntityCompon
 has been explained above. However, as the name implies, this is for the _default_ processor.  
 has been explained above. However, as the name implies, this is for the _default_ processor.  
 Non-default processors can also be added via
 Non-default processors can also be added via
 ```csharp
 ```csharp
-EntityManager.Processors.Add(entityProcessor);
+SceneSystem.SceneInstance.Processors.Add(entityProcessor);
 ```
 ```