Update DefaultScene.cs

This commit is contained in:
Roshan P 2021-05-18 05:13:48 -04:00 committed by GitHub
parent 362c1a55c4
commit 36e227542a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,11 +15,6 @@ namespace project_name
.SetPosition(new Vector2(150, 150))
.AddComponent<DemoComponent>()
.AddComponent(new PrototypeSpriteRenderer(20, 20));
var logo = Content.Load<Texture2D>("nez-logo-black");
CreateEntity("logo")
.SetPosition(Screen.Center)
.AddComponent(new SpriteRenderer(logo));
}
}
}