File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,20 +45,20 @@ It's recommended to build your entire project around these life cycle methods.
4545Basic 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
You can’t perform that action at this time.
0 commit comments