예제 #1
0
        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);
        }
예제 #2
0
 public override void Show()
 {
     mShowing = true;
     gameObject.SetActive(true);
     m_Tween.PlayGroup("show");
 }