What happens when changing from portrait to landscape or vice versa?

Inside PlayCanvas, what happens internally when that happens? is there some script that reruns? or something that resets? can I simulate that action without turning the phone?

Thank you !!..

Hi @Diego_Lopez-Mobilia,

I think the resolution of the canvas changes, because it gets resized. You can try calling that method manually to resize the canvas if you need to:

https://developer.playcanvas.com/en/api/pc.Application.html#resizeCanvas

1 Like

Thank you Leonidas, I will try it !!..

1 Like