Ejemplo n.º 1
0
    void Awake()
    {
        if (menu == null)
        {
            menu = Object.FindObjectOfType<SteamVR_Menu>();
        }

        if (text == null)
        {
            text = GetComponent<GUIText>();
        }
    }
Ejemplo n.º 2
0
    void Awake()
    {
        if (menu == null)
        {
            menu = Object.FindObjectOfType <SteamVR_Menu>();
        }

        if (text == null)
        {
            text = GetComponent <GUIText>();
        }
    }