12345678910111213141516171819202122232425 |
- using System.Collections.Generic;
- using UnityEngine;
- namespace ET.Client
- {
- public enum MotionType
- {
- None,
- Idle,
- Run,
- }
- [ComponentOf(typeof(Unit))]
- public class AnimatorComponent : Entity, IAwake, IUpdate, IDestroy
- {
- public Dictionary<string, AnimationClip> animationClips = new Dictionary<string, AnimationClip>();
- public HashSet<string> Parameter = new HashSet<string>();
- public MotionType MotionType;
- public float MontionSpeed;
- public bool isStop;
- public float stopSpeed;
- public Animator Animator;
- }
- }
|