Esempio n. 1
0
        //-------------------------------------------------------------------------
        // Auto Node API
        //-------------------------------------------------------------------------
        public override void Handle(GraphEngine graphEngine)
        {
            if (!DialogManager.IsDialogBoxOpen())
            {
                DialogManager.OpenDialogBox();
            }

            DialogManager.Type(Text, "", AutoAdvance, Delay);
        }
Esempio n. 2
0
        public override void Handle(GraphEngine graphEngine)
        {
            if (!DialogManager.IsDialogBoxOpen())
            {
                DialogManager.OpenDialogBox();
            }

            SwapCharacterProfile();

            string speaker = (Profile != null) ? Profile.CharacterName : "";
            string text    = Text;

            if (UseFormatting)
            {
                text = GetFormattedSentence();
            }

            DialogManager.Type(text, speaker, AutoAdvance, Delay, AnimateSpeaker);
        }