https://isris.org/
https://www.le-cafe.pro/
https://sakoon.com.pk/
https://killka-tech.com/
https://lgasesoriatributaria.com/
https://dramielesmi.com/
https://lopsonn.com.ar/
https://prextag.com//
https://surgeryk.com/
https://vintageprintpack.com/
https://pnmediagh.com/
https://consorciojuridicolans.com/
https://nhacovangia.com/
https://drone4tech.pl/
https://cli.re/super-vip
https://cli.re/akun-vip2026
https://cli.re/akunjagoan88
https://cli.re/member-vip
https://padimedical.org/
https://medsocmedtac.com/
https://mimegyenk.hu/
https://pedapub.com/policies/
https://centralmedicalcouncil.com/
https://fit.tnc.edu.vn/
https://editsworks.com/
angkatoto
slot thailand
mancing duit
mancing duit
airtoto4d
agenslot
agenslot
https://nesaclinic.com/
https://1two10.com/
. https://dcn.nu/
https://unifest.pe/
https://dratatianabozaoculoplastica.com/
https://jesusparra.com/
Cardboard camera control in Unity Editor – Emrah Akman

Cardboard camera control in Unity Editor

You can follow the steps below to provide VR controls through the editor. Create EditorCardboardCamera.cs file and add the following codes.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

// editor only Google Carboard VR cam simulation with left alt + mouse

public class EditorCardboardCamera : MonoBehaviour
{
#if UNITY_EDITOR
Vector2 rotation = Vector2.zero;
public float speed = 3;

void Update()
{
if (Input.GetKey(KeyCode.LeftAlt))
{
rotation.y += Input.GetAxis("Mouse X");
rotation.x += -Input.GetAxis("Mouse Y");
transform.eulerAngles = (Vector2)rotation * speed;
}
}
#endif
}

You can then drag this file onto the camera. Thus, when you run your project on the editor, you can control the VR environment by holding down the alt key.