public override void OnStart()
        {
            if (DBubble.TextYOffset < OffsetToScroll)
            {
                DBubble.CurParagraphIndex--;

                //When going back a paragraph, adjust all the previous text to be grey and lose some effects, such as shake and wave
                for (int i = 0; i < DBubble.DBubbleData.TextData.Count; i++)
                {
                    BubbleTextData bData = DBubble.DBubbleData.TextData[i];
                    if (bData.ParagraphIndex == DBubble.CurParagraphIndex)
                    {
                        bData.TextColor = Color.Gray;
                        bData.Shake     = false;
                        bData.Wave      = false;
                    }
                }
            }
            else if (DBubble.TextYOffset > OffsetToScroll)
            {
                DBubble.CurParagraphIndex++;
            }

            DBubble.SpeakerEndTalk();
        }
Пример #2
0
        public override void OnStart()
        {
            ElapsedTime = 0d;

            DBubble.SpeakerEndTalk();
        }
Пример #3
0
 public override void OnStart()
 {
     DBubble.ProgressTextStar.Disabled = false;
     DBubble.ProgressTextStar.Reset();
     DBubble.SpeakerEndTalk();
 }