private void Awake() { canvasGroup = GetComponent <CanvasGroup>(); uiCanvas = GetComponent <VRTK.VRTK_UICanvas>(); uiEventDIC = new Dictionary <string, UIEventListener>(); }
protected virtual bool ValidElement(GameObject obj) { VRTK_UICanvas canvasCheck = obj.GetComponentInParent <VRTK_UICanvas>(); return(canvasCheck != null && canvasCheck.enabled ? true : false); }
// Token: 0x06001766 RID: 5990 RVA: 0x0007D274 File Offset: 0x0007B474 protected virtual bool ValidElement(GameObject obj) { VRTK_UICanvas componentInParent = obj.GetComponentInParent <VRTK_UICanvas>(); return(componentInParent && componentInParent.enabled); }