Unity 3D
来源:互联网 发布:执行仪表板软件 编辑:程序博客网 时间:2024/06/17 05:26
设置手机屏幕的正方向,
void Awake()
{//设置在home键的正右方
Screen.orientation = ScreenOrientation.LandscapeRight;
}void Start () {
//设置屏幕的自动摆放
Screen.autorotateToLandscapeLeft = true;Screen.autorotateToLandscapeRight = true;
Screen.autorotateToPortrait = false;
Screen.autorotateToPortraitUpsideDown = false;
}
0 0
- Unity 3D
- unity 3d 注意事项
- Unity 3d 摄像头
- Unity 3D 使用
- Unity 3D--PlayerPrefs
- Unity 3d
- Unity 3D俄罗斯方块
- unity 3d 多开
- UNITY 3D笔记
- Unity 3D接触
- unity 3d
- Unity 3D简介
- Unity 3D 琐记
- unity 3d 视频
- Unity 3D 光源
- Unity 3D FingerID
- 再议Unity 3D
- unity 3d 网址
- C# StreamReader类 basestream.seek(0,seekorigin.begin)
- POJ 2479 Maximum sum ( DP )
- 二叉树的基本性质、存储方式与遍历(Python实现)
- github之Feature分支
- PAT--Saving James Bond - Hard Version
- Unity 3D
- HDU 4687 Boke and Tsukkomi (一般图匹配带花树)
- 分布式消息系统—kafka入门
- linux 动态链接库
- POJ 3041 - Asteroids(二分图匹配)
- Sizeof
- HDU 1593 find a way to escape
- hackerrank <Team Formation>
- 新手学习cocos2d-x