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