How to use the script method in the Game viewport to modify the resolution?

[77451-屏幕快照-2016-09-02-下午100602.png|77451]

There isn’t any public API for changing the game view resolution. But if you do a search (always do a search before asking questions :wink: ), you can find things like this.