From 494d3f727786ff70753692d8de019d9600a007e1 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 3 Aug 2021 19:33:43 +0800 Subject: *misc --- Assets/ActionTool/Editor/ActionManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Assets/ActionTool/Editor/ActionManager.cs') diff --git a/Assets/ActionTool/Editor/ActionManager.cs b/Assets/ActionTool/Editor/ActionManager.cs index feefde88..b39dec61 100644 --- a/Assets/ActionTool/Editor/ActionManager.cs +++ b/Assets/ActionTool/Editor/ActionManager.cs @@ -425,7 +425,7 @@ namespace ActionTool public static void AddNewEvent(object param) { EventParam eventParam = (EventParam )param; - string eventName = eventParam.eventName; // TimelineEvent.EEventType + string eventName = eventParam.eventName; // UnitTimeline.EEventType int frame = eventParam.frame; Debug.Log("[ActionTool] Add new event " + eventName); if (animationData == null) @@ -433,7 +433,7 @@ namespace ActionTool Debug.LogError("[ActionTool] 没有animation data数据"); return; } - Type type = TimelineEvent.GetTypeByName(eventName); + Type type = UnitTimeline.GetTypeByName(eventName); if(type == null) { Debug.LogError("[ActionTool] 没有创建对应的类, " + eventName); -- cgit v1.1-26-g67d0