public override void OnPointerClick(PointerEventData eventData)
 {
     if (UIStateSystem.IsEventSystemLock(false))
     {
         return;
     }
     base.OnPointerClick(eventData);
     SoundManager.PlayUI(base.get_gameObject());
     UIStateSystem.LockOfClickInterval(0u);
 }
Exemple #2
0
 private void Call()
 {
     if (UIStateSystem.IsEventSystemLock(false))
     {
         return;
     }
     UIStateSystem.LockOfClickInterval(0u);
     SoundManager.PlayUI(base.get_gameObject());
     base.SetValue(this.CommandBinding.MemberName, null);
 }
Exemple #3
0
 private void Call(bool value)
 {
     if (UIStateSystem.IsEventSystemLock(false))
     {
         return;
     }
     base.SetValue(this.ValueBinding.MemberName, value);
     this.UpdateValue(value);
     UIStateSystem.LockOfClickInterval(0u);
 }
Exemple #4
0
 public void OnPointerClick(PointerEventData eventData)
 {
     if (UIStateSystem.IsEventSystemLock(false))
     {
         return;
     }
     if (this.Target != null && this.Target.get_isOn())
     {
         this.Sound();
     }
 }
Exemple #5
0
 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);
 }
Exemple #7
0
 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);
 }
Exemple #8
0
 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);
     }
 }
Exemple #9
0
 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());
     }
 }