public override void OnPointerClick(PointerEventData eventData) { if (UIStateSystem.IsEventSystemLock(false)) { return; } base.OnPointerClick(eventData); SoundManager.PlayUI(base.get_gameObject()); UIStateSystem.LockOfClickInterval(0u); }
private void Call() { if (UIStateSystem.IsEventSystemLock(false)) { return; } UIStateSystem.LockOfClickInterval(0u); SoundManager.PlayUI(base.get_gameObject()); base.SetValue(this.CommandBinding.MemberName, null); }
private void Call(bool value) { if (UIStateSystem.IsEventSystemLock(false)) { return; } base.SetValue(this.ValueBinding.MemberName, value); this.UpdateValue(value); UIStateSystem.LockOfClickInterval(0u); }
public void OnPointerClick(PointerEventData eventData) { if (UIStateSystem.IsEventSystemLock(false)) { return; } if (this.Target != null && this.Target.get_isOn()) { this.Sound(); } }
public void OnPointerClick(PointerEventData eventData) { if (UIStateSystem.IsEventSystemLock(false)) { return; } if (this.onClickCustom != null) { SoundManager.PlayUI(base.get_gameObject()); this.onClickCustom(base.get_gameObject()); } UIStateSystem.LockOfClickInterval(0u); }
private void HandleChange(float arg) { if (UIStateSystem.IsEventSystemLock(false)) { return; } if (this.NextSwipe < Time.get_time()) { SoundManager.PlayUI(base.get_gameObject()); this.NextSwipe = Time.get_time() + this.SoundLag; } base.SetValue(this.ValueBinding.MemberName, arg); }
private void Call() { if (UIStateSystem.IsEventSystemLock(false)) { return; } if (!this.Button.IsInteractable()) { return; } SoundManager.PlayUI(base.get_gameObject()); base.SetValue(this.OnClickBinding.MemberName, (!(this.Paramater == null)) ? this.Paramater.GetValue() : null); UIStateSystem.LockOfClickInterval(0u); }
public override void OnPointerUp(PointerEventData eventData) { if (UIStateSystem.IsEventSystemLock(false)) { return; } if (this.onUp != null) { this.onUp(base.get_gameObject()); } if (this.onPointerUp != null) { this.onPointerUp(eventData); } }
public override void OnPointerClick(PointerEventData eventData) { if (UIStateSystem.IsEventSystemLock(false)) { return; } if (this.onClickData != null) { this.onClickData(eventData); } if (this.onClick != null) { SoundManager.PlayUI(base.get_gameObject()); this.onClick(base.get_gameObject()); } }