private void Onfinish() { _isTurned = !_isTurned; ClickTarget.isEnabled = _isTurned; if (!_isTurned) { SetHeld(); } var showValue = _isTurned ? Value : 0; Show(showValue); _ro.RemoveOnFinished(ChangeFEvent); _ro.ResetToBeginning(); _ro.from = new Vector3(0, -90, 0); _ro.to = new Vector3(0, 0, 0); _ro.AddOnFinished(ChangeOEvent); _ro.PlayForward(); }
private void Onfinish1() { TweenRotation rightTweenR = GetComponent <TweenRotation>(); if (rightTweenR == null) { return; } rightTweenR.RemoveOnFinished(_changeOEvent); }
private void Onfinish1() { if (Owner != null) { Owner.CheckCardPoint(); } TweenRotation rightTweenR = GetComponent <TweenRotation>(); rightTweenR.RemoveOnFinished(_changeOEvent); }
private void Onfinish() { TweenRotation rightTweenR = GetComponent <TweenRotation>(); SetCardFront(); rightTweenR.RemoveOnFinished(_changeFEvent); rightTweenR.from = new Vector3(0, -90, 0); rightTweenR.to = new Vector3(0, 0, 0); rightTweenR.AddOnFinished(_changeOEvent); rightTweenR.ResetToBeginning(); rightTweenR.PlayForward(); }
public void OnTweenEnd() { if (Tweener != null) { Tweener.RemoveOnFinished(TweenEndCallback); Tweener.enabled = false; } if (Reset) { if (Tweener != null && Tweener.gameObject != null) { Tweener.gameObject.transform.eulerAngles = Tweener.from; } } m_Status = Status.StopOnNextFrame; }
public void RemoveListener() { EventDelegate.Remove(mBtn.onClick, OnClicked); mAwardTweener.RemoveOnFinished(OnTweenerFinished); }
private void Onfinish1() { TweenRotation rightTweenR = GetComponent <TweenRotation>(); rightTweenR.RemoveOnFinished(_changeOEvent); }