diff options
| author | chai <chaifix@163.com> | 2021-08-04 17:37:56 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2021-08-04 17:37:56 +0800 |
| commit | aafae64318a5a08a68b7033441449c36f0f85a17 (patch) | |
| tree | 9908e6fd3b6cd3156e3c105da193950031a21f6e /Assets/ActionTool/Editor/ActionManager.cs | |
| parent | 0081fa2bd7b2bf2c40bbae087a2b5753125de30d (diff) | |
*actiontool
Diffstat (limited to 'Assets/ActionTool/Editor/ActionManager.cs')
| -rw-r--r-- | Assets/ActionTool/Editor/ActionManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Assets/ActionTool/Editor/ActionManager.cs b/Assets/ActionTool/Editor/ActionManager.cs index c2e6d291..deb7e3a1 100644 --- a/Assets/ActionTool/Editor/ActionManager.cs +++ b/Assets/ActionTool/Editor/ActionManager.cs @@ -84,6 +84,7 @@ namespace ActionTool }
}
}
+ public static AnimationClip curClip;
public static string AnimationDataPath
{
@@ -154,6 +155,7 @@ namespace ActionTool string animpath = unitAnimationClipFolder + animation + ".anim";
AnimationClip clip = AssetDatabase.LoadAssetAtPath(animpath, typeof(AnimationClip)) as AnimationClip;
+ curClip = clip;
if (clip)
{
s_OverrideContorller["EmptyAction"] = clip;
|
