摘要: void Update () {//处理横向两个方向旋转if(Input.deviceOrientation == DeviceOrientation.LandscapeLeft){if (Screen.orientation != ScreenOrientation.LandscapeLeft) {Screen.orientation = ScreenOrientation.LandscapeLeft;}}else if(Input.deviceOrientation == DeviceOrientation.LandscapeRight){if (Screen.orientation != 阅读全文
posted @ 2011-11-21 14:58 softimagewht 阅读(298) 评论(0) 推荐(0)