Пример #1
0
 void Start()
 {
     StoryTeller.DisplayText(
         new StoryText(
             text: "I need just a few more pieces..",
             stopTime: true));
 }
Пример #2
0
        void Start()
        {
            StoryTeller.DisplayText(
                new StoryText(
                    text: "Hmm..",
                    stopTime: true));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "One more should do..",
                    stopTime: true));
        }
Пример #3
0
        private void Awake()
        {
            if (Instance != null)
            {
                Destroy(gameObject);
                return;
            }

            Instance = this;

            m_queuedTexts = new Queue <StoryText>();
            m_text        = GetComponent <Text>();
            m_animation   = GetComponent <Animation>();
        }
Пример #4
0
        void Start()
        {
            StoryTeller.DisplayText(
                new StoryText(
                    text: "What if I can't get back..",
                    stopTime: true));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "I should start building a new home",
                    stopTime: true));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "There should be some parts around here",
                    stopTime: true));
        }
Пример #5
0
        private void Start()
        {
            m_targetCameraSize = Camera.main.orthographicSize * 2;

            StoryTeller.DisplayText(
                new StoryText(
                    text: "I've found everything",
                    stopTime: true,
                    preDelaySeconds: 0.5f));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "To repair my friend",
                    stopTime: true,
                    preDelaySeconds: 0.5f));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "Home is friends and loved ones",
                    stopTime: true,
                    preDelaySeconds: 3.0f));
        }
Пример #6
0
        void Start()
        {
            StoryTeller.DisplayText(
                new StoryText(
                    text: "Hello..",
                    stopTime: true));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "I'm from a different world",
                    stopTime: true));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "Lost in this strange place",
                    stopTime: true));

            StoryTeller.DisplayText(
                new StoryText(
                    text: "I miss my home",
                    stopTime: true,
                    preDelaySeconds: 1.0f));
        }