Skip to content

Commit 4cc68bf

Browse files
Update README.md
1 parent 4afb181 commit 4cc68bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@ It's recommended to build your entire project around these life cycle methods.
4545
Basic example usage of some of the ECS features.
4646

4747
```cs
48-
public class MainController: Controller {
48+
public class MainController : Controller {
4949
public override void OnInitialize() {
5050
this.Register (typeof(EnemySystem, typeof(AiSystem), typeof(AudioService));
5151
}
5252
}
5353

54-
public class EnemyComponent: EntityComponent<EnemyComponent, EnemySystem> {
54+
public class EnemyComponent : EntityComponent<EnemyComponent, EnemySystem> {
5555
[Referenced] public BoxCollider collider;
5656
[Protected] public int level;
5757

5858
public float speed;
5959
}
6060

61-
public class EnemySystem: EntitySystem<EnemySystem, EnemyComponent> {
61+
public class EnemySystem : EntitySystem<EnemySystem, EnemyComponent> {
6262
[Injected] public AiSystem aiSystem;
6363
[Injected] public AudioService AudioService;
6464

0 commit comments

Comments
 (0)