Ejemplo n.º 1
0
 void Start()
 {
     tablet = GetComponent <Valve.VR.InteractionSystem.Tablet>();
     mStats = FindObjectOfType <MonsterStats>();
     if (!mStats)
     {
         Debug.LogWarning("No monster found in scene");
     }
     StartCoroutine("UpdateUIStats");
 }
Ejemplo n.º 2
0
 void Start()
 {
     tablet = GetComponentInParent <Valve.VR.InteractionSystem.Tablet>();
 }