diff options
Diffstat (limited to 'Assets/ActionTool/Editor/ActionManager.cs')
-rw-r--r-- | Assets/ActionTool/Editor/ActionManager.cs | 4 |
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);
|