Fixed some bugs and added parsing

This commit is contained in:
2023-06-16 15:48:33 -07:00
parent 2964aa4a95
commit e6350d99e9
17 changed files with 157 additions and 42 deletions

View File

@ -62,6 +62,14 @@ float_t UICanvas::getContentHeight() {
return this->getHeight();
}
float_t UICanvas::getChildOffsetX() {
return 0.0f;
}
float_t UICanvas::getChildOffsetY() {
return 0.0f;
}
void UICanvas::onStart() {
if(camera == nullptr) camera = getScene()->findComponent<Camera>();