how change canvas default scale (landscape) portrait / match mobile view? thank you
use line below whenever need.
screen.orientation = screenorientation.portrait;
changing display orientation doesn't depend on canvas canvas changes upon display orientation. when orientation changes, canvas orientation same.
be aware of using ui components in way doesn't bad when display orientation changes.
Comments
Post a Comment