public virtual void OnUIPointerElementDragStart(UIPointerEventArgs e) { if (UIPointerElementDragStart != null) { UIPointerElementDragStart(this, e); } }
public virtual void OnUIPointerElementEnter(UIPointerEventArgs e) { if (UIPointerElementEnter != null) { UIPointerElementEnter(this, e); } }
public virtual void OnUIPointerElementDragEnd(UIPointerEventArgs e) { if (UIPointerElementDragEnd != null) { UIPointerElementDragEnd(this, e); } }
public virtual void OnUIPointerElementClick(UIPointerEventArgs e) { if (UIPointerElementClick != null) { UIPointerElementClick(this, e); } }
private void UIPointerElementExit(object sender, VRTK.UIPointerEventArgs e) { if (GetComponent <VRTK.VRTK_Pointer>()) { sceneManager.pointerOnMenu = false; GetComponent <VRTK.VRTK_Pointer>().Toggle(false); } }
public virtual void OnUIPointerElementDragEnd(UIPointerEventArgs e) { if (UIPointerElementDragEnd != null) { UIPointerElementDragEnd(this, e); Debug.Log("UI Pointer Element Drag Start"); } }
// Token: 0x06001ACE RID: 6862 RVA: 0x0008D1A9 File Offset: 0x0008B3A9 public virtual void OnUIPointerElementClick(UIPointerEventArgs e) { if (e.currentTarget == this.currentTarget) { this.ResetHoverTimer(); } if (this.UIPointerElementClick != null) { this.UIPointerElementClick(this, e); } }
public virtual void OnUIPointerElementExit(UIPointerEventArgs e) { if (UIPointerElementExit != null) { UIPointerElementExit(this, e); if (attemptClickOnDeactivate && !e.isActive && e.previousTarget) { pointerEventData.pointerPress = e.previousTarget; } } }
public virtual void OnUIPointerElementClick(UIPointerEventArgs e) { if (e.currentTarget == currentTarget) { ResetHoverTimer(); } if (UIPointerElementClick != null) { UIPointerElementClick(this, e); FindObjectOfType <SoundManager>().PlaySound("ButtonClick"); } }
public virtual void OnUIPointerElementClick(UIPointerEventArgs e) { if (e.currentTarget == currentTarget) { ResetHoverTimer(); } if (UIPointerElementClick != null) { UIPointerElementClick(this, e); Debug.Log("UI attempt click"); } }
public virtual void OnUIPointerElementClick(UIPointerEventArgs e) { Debug.Log(e.currentTarget.name); if (e.currentTarget == currentTarget) { ResetHoverTimer(); } if (UIPointerElementClick != null) { UIPointerElementClick(this, e); } }
// Token: 0x06001ACD RID: 6861 RVA: 0x0008D140 File Offset: 0x0008B340 public virtual void OnUIPointerElementExit(UIPointerEventArgs e) { if (e.previousTarget == this.currentTarget) { this.ResetHoverTimer(); } if (this.UIPointerElementExit != null) { this.UIPointerElementExit(this, e); if (this.attemptClickOnDeactivate && !e.isActive && e.previousTarget) { this.pointerEventData.pointerPress = e.previousTarget; } } }
// Token: 0x06001ACC RID: 6860 RVA: 0x0008D0CC File Offset: 0x0008B2CC public virtual void OnUIPointerElementEnter(UIPointerEventArgs e) { if (e.currentTarget != this.currentTarget) { this.ResetHoverTimer(); } if (this.clickAfterHoverDuration > 0f && this.hoverDurationTimer <= 0f) { this.canClickOnHover = true; this.hoverDurationTimer = this.clickAfterHoverDuration; } this.currentTarget = e.currentTarget; if (this.UIPointerElementEnter != null) { this.UIPointerElementEnter(this, e); } }
public virtual void OnUIPointerElementEnter(UIPointerEventArgs e) { if (e.currentTarget != currentTarget) { ResetHoverTimer(); } if (clickAfterHoverDuration > 0f && hoverDurationTimer <= 0f) { canClickOnHover = true; hoverDurationTimer = clickAfterHoverDuration; } currentTarget = e.currentTarget; if (UIPointerElementEnter != null) { UIPointerElementEnter(this, e); } }