ActionCase.cs 621 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class ActionCase
  5. {
  6. public float StartTime;
  7. public float EndTime;
  8. public string Trigger;
  9. public List<int> TargetMaidNo = new List<int>();
  10. public List<ActionCase.ActionType> Action = new List<ActionCase.ActionType>();
  11. public List<ActionCase.ReactionParam> Reaction = new List<ActionCase.ReactionParam>();
  12. public GameObject Effect;
  13. public float EffectTime;
  14. public enum ActionType
  15. {
  16. wave,
  17. up,
  18. swing,
  19. shake
  20. }
  21. public class ReactionParam
  22. {
  23. public string Name;
  24. public float SetTime;
  25. public bool IsFaceBlend;
  26. }
  27. }