Beispiel #1
0
        private void OnRollEndCallback()
        {
            this.m_bIsPlaying = false;
            if (this.m_curPlayingScroll != null)
            {
                this.m_curPlayingScroll.Loop--;
                if (this.m_curPlayingScroll.Loop == 0)
                {
                    ClassPoolModule <ScrollData> .Release(this.m_curPlayingScroll);

                    if (this.m_queueScrollDatas.Count > 0)
                    {
                        var scrollData = this.m_queueScrollDatas.Dequeue();
                        this.AddScrollBroadcast(scrollData);
                        this.StartRoll();
                    }
                    else
                    {
                        this.Show(false);
                        this.m_curPlayingScroll = null;
                    }
                }
                else
                {
                    //说明无限滚动或者次数没玩
                    this.StartRoll();
                }
            }
        }
Beispiel #2
0
 /// <summary>
 /// 清除对话资源
 /// </summary>
 public override void OnFinished()
 {
     this.m_iCurIndex = 0;
     //清除数据,然后关闭tip
     ClassPoolModule<NewbieHelpTipStep>.Release(this);
     UITipObj.SetVisiable(false);
     base.OnFinished();
 }
Beispiel #3
0
 public override void OnFinished()
 {
     //Debug.Log("fwerwOnfishjed");
     CaomaoDriver.NewbieHelpModule.SetUIGlowTipNoVisiable();
     this.RemoveButtonListener();
     this.bt_activeButton = null;
     base.OnFinished();
     if (!(this is NewbieButtonWithContentStep))
     {
         ClassPoolModule <NewbieButtonNoContentStep> .Release(this);
     }
 }
Beispiel #4
0
        public override void RecyleSelf(TimerBase data)
        {
            var d = data as TimerData;

            ClassPoolModule <TimerData> .Release(d);
        }
Beispiel #5
0
 public override void OnFinished()
 {
     base.OnFinished();
     UITip.SetVisiable(false);
     ClassPoolModule <NewbieButtonWithContentStep> .Release(this);
 }