public void Close() { RealTimeTimer.Unregister(mCdId); if (mOnBeginClose != null) { mOnBeginClose(this); } mOnBeginClose = null; float dur = m_ToastCanvas.PlayGroup("out"); Timer.Register(Mathf.Min(dur, 1), mOnTweenFinish); }
public override void Show() { mShowing = true; gameObject.SetActive(true); m_Tween.PlayGroup("show"); }