diff options
author | chai <chaifix@163.com> | 2021-07-07 18:47:37 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-07-07 18:47:37 +0800 |
commit | a13f10139d33264fc9ebc5a15c75faf16fc7757e (patch) | |
tree | 9d6c40a21fc873c6e25ff4bbdeba663a73927427 /Assets/Scripts/Unit/Component/UnitAnimation.cs | |
parent | 1bb4971cffac3851a119f16e815bfe42abfc2df6 (diff) |
+Action Tool
Diffstat (limited to 'Assets/Scripts/Unit/Component/UnitAnimation.cs')
-rw-r--r-- | Assets/Scripts/Unit/Component/UnitAnimation.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Assets/Scripts/Unit/Component/UnitAnimation.cs b/Assets/Scripts/Unit/Component/UnitAnimation.cs new file mode 100644 index 00000000..ac04148d --- /dev/null +++ b/Assets/Scripts/Unit/Component/UnitAnimation.cs @@ -0,0 +1,18 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+// 播放动画,执行帧事件
+[DisallowMultipleComponent]
+public class UnitAnimation : UnitComponent
+{
+ private Animator m_Animator;
+
+ private TimelineEvent m_Timeline;
+
+ public void Play()
+ {
+
+ }
+
+}
|