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