diff options
author | chai <chaifix@163.com> | 2021-08-03 19:33:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-08-03 19:33:43 +0800 |
commit | 494d3f727786ff70753692d8de019d9600a007e1 (patch) | |
tree | 1b328a0d2d8943157903065ca3441b9f6485e3f9 /Assets/ActionTool/Editor/ActionManager.cs | |
parent | 31666a451a74183b74557208812a9b47053c3f08 (diff) |
*misc
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 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);
|