API Almost finished
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user