From a7016b841e89c2872643f8b4884e660eaf32d512 Mon Sep 17 00:00:00 2001 From: Yuki <20253131+YukihoAA@users.noreply.github.com> Date: Sun, 27 Aug 2023 12:13:07 +0900 Subject: [PATCH] Revert "Merge branch 'pr/20'" This reverts commit ea0f32cc4bc0f87c1cc2ffe7ae6e8c3b917c4af8, reversing changes made to e140c888fde899f26883c112310c6e8cad44cad4. --- Assets/OSCmooth/Editor/OSCmoothUtil.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Assets/OSCmooth/Editor/OSCmoothUtil.cs b/Assets/OSCmooth/Editor/OSCmoothUtil.cs index 768074f..37da809 100644 --- a/Assets/OSCmooth/Editor/OSCmoothUtil.cs +++ b/Assets/OSCmooth/Editor/OSCmoothUtil.cs @@ -229,22 +229,6 @@ public static AnimationClip[] CreateFloatSmootherAnimation(AnimatorController an { Directory.CreateDirectory(directory); } - - // Create paths for v2/ params - string[] paramNameSplit = paramName.Split('/'); - if (paramNameSplit.Length > 1) - { - string nestedDirectory = directory; - for (int i = 0; i < paramNameSplit.Length - 1; i++) - { - nestedDirectory += paramNameSplit[i] + "/"; - if (!Directory.Exists(nestedDirectory)) - { - Directory.CreateDirectory(nestedDirectory); - } - } - } - string[] guid = (AssetDatabase.FindAssets(NameNoSymbol(paramName) + "-1" + "Smoother.anim"));