I have a unity app and my own SDK.
- Without my SDK, the app runs with landscape modes as specified in Unity's Build Player Settings.
- With my SDK, the app goes into portrait and landscape modes even though only landscape modes are specified in Unity's Build Player Settings.
The generated XCode project has orientation code in its AppController.mm file. Tweaking code there has not restricted the rotation.
How does this happen? Wouldn't the generated XCode project's code -- AppController.mm in particular -- be the ultimate decider for orientation? Does my SDK overwrite all other settings from Unity and even those in the Unity-generated project?