StoryStepData.cs 747 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace KairoEngine.Core
  5. {
  6. public enum StoryStepType
  7. {
  8. Line,
  9. Branch,
  10. Path
  11. }
  12. [System.Serializable]
  13. public class StoryStepData
  14. {
  15. public StoryStepType category;
  16. public string text;
  17. public List<string> tags;
  18. public List<string> branches;
  19. public int path = 0;
  20. public StoryStepData(StoryStepType category, string text, List<string> tags, List<string> branches, int path = 0)
  21. {
  22. this.category = category;
  23. this.text = text;
  24. this.tags = tags;
  25. this.branches = branches;
  26. this.path = path;
  27. }
  28. }
  29. }