Joined
Last Online
Recent Posts
posted in 技术交流 read more

getScreenWidth: function(){
let baseUI = packageNameStartsWith("").depth(0).visibleToUser(true).findOne()
let width = baseUI.bounds().right
return width
},

getScreenHeight: function(){
    let baseUI = packageNameStartsWith("").depth(0).visibleToUser(true).findOne()
    let height = baseUI.bounds().bottom
    return height
},