private void Call() { if (UIStateSystem.IsEventSystemLock(false)) { return; } UIStateSystem.LockOfClickInterval(0u); SoundManager.PlayUI(base.get_gameObject()); base.SetValue(this.CommandBinding.MemberName, null); }
private void OnClickEffect(GameObject go) { UIStateSystem.LockOfClickInterval(200u); Vector2 vector; if (RectTransformUtility.ScreenPointToLocalPointInRectangle(base.get_transform().get_parent().get_transform() as RectTransform, Input.get_mousePosition(), base.get_transform().get_parent().GetComponent <Canvas>().get_worldCamera(), ref vector)) { FXSpineManager.Instance.PlaySpine(3702, base.FindTransform("LeftPanel"), "GodSoldierUI", 2004, null, "UI", vector.x + 300f, vector.y, 1f, 1f, false, FXMaskLayer.MaskState.None); } }
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(bool value) { if (UIStateSystem.IsEventSystemLock(false)) { return; } base.SetValue(this.ValueBinding.MemberName, value); this.UpdateValue(value); UIStateSystem.LockOfClickInterval(0u); }
protected override void OnDisable() { base.OnDisable(); if (!this.IsUnlockGuide) { GuideManager.Instance.out_system_lock = false; } UIStateSystem.LockOfClickInterval(350u); this.ResetAll(); SoundManager.SetBGMFade(true); this.DeleteTimer(); }
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 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); }