Hello, I’m using urhosharp with xamarin, and trying to build an Android app, but my problem is that I don’t find a method to set the orientation to portrait. I can turn the camera but, for example the debug text is still in landscape mode.
Is it something in Urho3d or android side ?
hi! unfortunately this is the wrong forum to ask questions about the c# fork - thats a separate project and although i would love to help you, I’m yet to build one android project on Urho so I am utterly unqualified, other than to tell you that you are barking up the wrong tree for help with c# stuff here. This forum is dedicated to the master fork, which has no C# support. Still happy to help if there is any crossover but it looks like you are asking in the wrong place.
Yes you’re true, I needed to change ScreenOrientation = ScreenOrientation.Landscape to ScreenOrientation = ScreenOrientation.Portrait in MainActivity.cs :