API Almost finished

This commit is contained in:
2023-06-11 09:05:25 -07:00
parent bbc75feb0d
commit 7e20d6e8c5
6 changed files with 211 additions and 92 deletions

View File

@@ -27,10 +27,6 @@ namespace Dawn {
auto newLabelItem = this->createSceneItem();
newLabelItem->transform.setParent(canvas->transform);
auto newLabel = newLabelItem->addComponent<UILabelNew>();
auto font = this->game->assetManager.get<NewTrueTypeAsset>("font_arial");
newLabel->font = font;
newLabel->fontSize = 32;
}
std::vector<Asset*> getRequiredAssets() override {