mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Implement OS.get_screen_orientation() for Android
This commit is contained in:
@@ -561,6 +561,10 @@ public class GodotIO {
|
||||
}
|
||||
};
|
||||
|
||||
public int getScreenOrientation() {
|
||||
return activity.getRequestedOrientation();
|
||||
}
|
||||
|
||||
public void setEdit(GodotEditText _edit) {
|
||||
edit = _edit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user