Skip to content

Commit

Permalink
VRCSDK3のための分岐部分を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
gatosyocora committed Sep 10, 2023
1 parent f82281b commit 6de7e5f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if VRC_SDK_VRCSDK3
using System;
using System;
using System.Linq;
using UnityEditor.Animations;
using UnityEngine;
Expand Down Expand Up @@ -213,5 +212,4 @@ public void SetAnimSavedFolderPath()
AnimSavedFolderPath = GetAnimSavedFolderPath(FxController);
}
}
}
#endif
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
using UnityEngine;
using VRCAvatarEditor.Base;
using VRCAvatarEditor.Avatars3;
#if VRC_SDK_VRCSDK3
using VRC.SDK3.Avatars.Components;
using static VRC.SDK3.Avatars.Components.VRCAvatarDescriptor;
#endif

namespace VRCAvatarEditor.Utilities
{
Expand Down Expand Up @@ -98,7 +96,6 @@ public static ChildAnimatorState GetFXLayerIdleState(AnimatorController controll
.stateMachine.states
.SingleOrDefault(s => s.state.name == VRCAvatarConstants.IDLE_STATE_NAME);

#if VRC_SDK_VRCSDK3
public static CustomAnimLayer GetPlayableLayer(VRCAvatarDescriptor descripter, AnimLayerType layerType)
=> descripter.baseAnimationLayers
.Where(l => l.type == layerType)
Expand All @@ -124,5 +121,4 @@ public static AnimatorControllerLayer DetectCorrespondenceLayer(AnimatorControll
.SingleOrDefault();
}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if VRC_SDK_VRCSDK3
using System;
using System;
using System.IO;
using System.Linq;
using UnityEditor;
Expand Down Expand Up @@ -267,5 +266,4 @@ private static void SetNoBlink(AnimatorController fxController)
}
}
}
}
#endif
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if VRC_SDK_VRCSDK3
using System.Linq;
using System.Linq;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;
Expand Down Expand Up @@ -278,5 +277,4 @@ private void SetupForNoUseWriteDefaultIfNeeded(AnimatorController controller, VR
}
}
}
}
#endif
}

0 comments on commit 6de7e5f

Please sign in to comment.