using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public GameObject CapsulePlayer, MainCamerahead; private float aixsX, aixsY, mouseScroll; private int moveSpeed; ; ; ; private float
camera的aspect默认是与screen保持一致,可以通过脚本将其设为指定值,如下: using UnityEngine;using System.Collections; public class makeCameraViewWequalsH : MonoBehaviour { // Use this for initialization void Start () { gameObject.GetComponent<Camera> ().aspect = 0.1f
把scene添加到build settings的scenes in build列表里以后,如果想删除,没有菜单可用,但选中按delete即可. 参考:http://answers.unity3d.com/questions/393071/how-do-i-remove-a-scene-from-a-build.html?sort=oldest
http://forum.exceedu.com/forum/forum.php?mod=viewthread&tid=34175 Oculus Unity Development Guide开发指南转载请保留原始地 http://t.cn/RAblKoh Oculus/GearVR开发者群 302294234 Welcometo the Unity Development GuideIntroduction简介Welcometo the Oculus Unity Developer Gui