コード例 #1
0
        // Use this for initialization
        void Start()
        {
            cameraRoate_obj = GameObject.Find("DualTouchControls");
            cameraRotate    = cameraRoate_obj.GetComponentInChildren <CameraRotate>();

            camera_Distance = this.transform.localPosition.z;
        }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     cameraRotate = GameObject.Find("DualTouchControls/TurnAndLookTouchpad").GetComponent <CameraRotate>();
 }