StoryViewText.cs 401 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using TMPro;
  5. using KairoEngine.Core;
  6. using KairoEngine.StorySystem;
  7. namespace KairoEngine.StorySystem.UI
  8. {
  9. public class StoryViewText : MonoBehaviour
  10. {
  11. public TextMeshProUGUI text;
  12. public void Setup(StoryStepData storyStep)
  13. {
  14. text.text = storyStep.text;
  15. }
  16. }
  17. }