AnimatorComponent.cs 500 B

123456789101112131415161718192021222324
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. namespace ET
  4. {
  5. public enum MotionType
  6. {
  7. None,
  8. Idle,
  9. Run,
  10. }
  11. public class AnimatorComponent : Entity, IAwake, IUpdate, IDestroy
  12. {
  13. public Dictionary<string, AnimationClip> animationClips = new Dictionary<string, AnimationClip>();
  14. public HashSet<string> Parameter = new HashSet<string>();
  15. public MotionType MotionType;
  16. public float MontionSpeed;
  17. public bool isStop;
  18. public float stopSpeed;
  19. public Animator Animator;
  20. }
  21. }