Skip to content

rotate screen when opening unity #39

@quoctruongkt

Description

@quoctruongkt

I'm trying to integrate Unity into my React Native app and would like to be able to rotate the screen from landscape to portrait and vice versa when opening Unity. I tried using some libraries but ran into the problem of only being able to rotate for a very short distance before returning to the original state. I also tried writing code to rotate the screen in Unity but encountered problems when switching from landscape to portrait mode. When you then swipe the status bar down, the screen automatically returns to landscape mode.
Please let me know how I can handle the above problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions