diff --git a/src/dawnhelloworld/scenes/HelloWorldScene.hpp b/src/dawnhelloworld/scenes/HelloWorldScene.hpp index 29505ffd..39f32189 100644 --- a/src/dawnhelloworld/scenes/HelloWorldScene.hpp +++ b/src/dawnhelloworld/scenes/HelloWorldScene.hpp @@ -6,9 +6,7 @@ #pragma once #include "scene/Scene.hpp" #include "prefabs/SimpleSpinningCubePrefab.hpp" -#include "prefabs/ui/debug/FPSLabel.hpp" #include "scene/components/ui/UIImage.hpp" -#include "display/font/BitmapFont.hpp" namespace Dawn { class HelloWorldScene : public Scene { @@ -16,7 +14,6 @@ namespace Dawn { Camera *camera; SimpleSpinningCubePrefab *cube; UICanvas *canvas; - UILabel *label; void stage() override { camera = Camera::create(this); @@ -25,12 +22,6 @@ namespace Dawn { cube = SimpleSpinningCubePrefab::create(this); canvas = UICanvas::create(this); - - auto labelItem = FPSLabel::create(this); - labelItem->transform.setParent(canvas->transform); - labelItem->label->alignX = UI_COMPONENT_ALIGN_END; - labelItem->label->alignment = glm::vec4(0, 0, 0, 0); - labelItem->label->fontSize = 16; } std::vector getRequiredAssets() override {