// Start is called before the first frame update void Start() { hudManage = GameObject.Find("HUD").GetComponent(typeof(HudManage)) as HudManage; hudManage2 = GameObject.Find("MenuOpciones").GetComponent(typeof(HudManage)) as HudManage; miTransform = GetComponent <Transform>(); }
void Start() { gyro = GameObject.Find("Main Camera").GetComponent(typeof(Gyro)) as Gyro; camara = GameObject.Find("Main Camera"); hudManage2 = GameObject.Find("MenuOpciones").GetComponent(typeof(HudManage)) as HudManage; ToggleVR(); }