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