Fixed some bugs and added parsing
This commit is contained in:
@ -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>();
|
||||
|
||||
|
Reference in New Issue
Block a user