TH1/Unity/Assets/Scripts/ModelView/Client/Demo/Unit/AnimatorComponent.cs
2025-07-17 18:26:28 +08:00

25 lines
472 B
C#

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