예제 #1
0
    // 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>();
    }
예제 #2
0
    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();
    }