You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
529 B
25 lines
529 B
3 years ago
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace ET
|
||
|
{
|
||
|
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;
|
||
|
}
|
||
|
}
|