diff options
author | chai <chaifix@163.com> | 2021-09-04 14:02:24 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-09-04 14:02:24 +0800 |
commit | 34d01108e9f0c5488e8824f768c43801dd8ed4cc (patch) | |
tree | 8656926dc0fdb116590e295ce1038a192bc0eca3 /Assets/Scripts/Unit/Controller | |
parent | 18a46c5eda8dad703eca557c6553f7f0ed3461af (diff) |
*misc
Diffstat (limited to 'Assets/Scripts/Unit/Controller')
-rw-r--r-- | Assets/Scripts/Unit/Controller/UnitController.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Assets/Scripts/Unit/Controller/UnitController.cs b/Assets/Scripts/Unit/Controller/UnitController.cs index 63202f29..2f43b4e4 100644 --- a/Assets/Scripts/Unit/Controller/UnitController.cs +++ b/Assets/Scripts/Unit/Controller/UnitController.cs @@ -41,7 +41,12 @@ public class UnitController : MonoBehaviour/*, Interactable*/ public GameObject unitObj; // 角色模型
- public bool isTowardRight
+ #region 事件监听
+ public delegate void OnTimelineEventHandle(AnimationEventBase animEvent);
+ public OnTimelineEventHandle onTimelineEvent { get; set; }
+ #endregion
+
+ public bool isTowardRight
{
get
{
|