gyroscope1 [SaveSource] GyroScope Camera [CameraScene]스마트폰움직임이랑 Unity MainCamera랑 움직임 동일화 1. GyroCamera.cs using UnityEngine; using System.Collections; public class GyroCamera : MonoBehaviour { private Gyroscope gyro; private bool gyroSupported; private Quaternion rotFix; void Start () { gyroSupported = SystemInfo.supportsGyroscope; GameObject camParent = new GameObject("camParent"); camParent.transform.position = transform.position; t.. 2016. 10. 6. 이전 1 다음