summaryrefslogtreecommitdiff
path: root/Assets/ActionTool/Editor/ActionManager.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-08-06 19:02:03 +0800
committerchai <chaifix@163.com>2021-08-06 19:02:03 +0800
commit754ceacd8ab62e7094f1827ae45ea16a502725ad (patch)
tree7165384f470bf0c4ae261d7dd22876416c150964 /Assets/ActionTool/Editor/ActionManager.cs
parent35f2e468715e12d93cb88f2258c2d0ae82d1d189 (diff)
*curve
Diffstat (limited to 'Assets/ActionTool/Editor/ActionManager.cs')
-rw-r--r--Assets/ActionTool/Editor/ActionManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assets/ActionTool/Editor/ActionManager.cs b/Assets/ActionTool/Editor/ActionManager.cs
index deb7e3a1..af3935a7 100644
--- a/Assets/ActionTool/Editor/ActionManager.cs
+++ b/Assets/ActionTool/Editor/ActionManager.cs
@@ -435,7 +435,7 @@ namespace ActionTool
public static void AddNewEvent(object param)
{
EventParam eventParam = (EventParam )param;
- string eventName = eventParam.eventName; // UnitTimeline.EEventType
+ string eventName = eventParam.eventName; // TimelineEventProxy.EEventType
int frame = eventParam.frame;
Debug.Log("[ActionTool] Add new event " + eventName);
if (animationData == null)
@@ -443,7 +443,7 @@ namespace ActionTool
Debug.LogError("[ActionTool] 没有animation data数据");
return;
}
- Type type = UnitTimeline.GetTypeByName(eventName);
+ Type type = TimelineEventProxy.GetTypeByName(eventName);
if(type == null)
{
Debug.LogError("[ActionTool] 没有创建对应的类, " + eventName);