I am developing a 2D shooter game in landscape mode. When I view it in Desktop it is running fine. I want to give same experience in mobile too. Irrespective of the user's orientation.
Is it possible? If it is, how to achieve it?
I am developing a 2D shooter game in landscape mode. When I view it in Desktop it is running fine. I want to give same experience in mobile too. Irrespective of the user's orientation.
Is it possible? If it is, how to achieve it?
If I understand correctly, what you want to do is lock the possible orientations on the device. In order to do that you need to edit the settings on build.settings file, for example:
orientation =
{
default = "landscapeRight",
supported =
{
"landscapeRight", "landscapeLeft"
}
}
Refer to the official docs here in the "App Orientation" section.