HipsTarget animator is not visible when humanoid animator is enabled
This commit is contained in:
parent
e09ad0b2e3
commit
58d9b0e5ca
@ -128,7 +128,7 @@ namespace Passer {
|
||||
|
||||
private void AnimatorInspector(HipsTarget hipsTarget) {
|
||||
SerializedProperty animatorProp = serializedObject.FindProperty(nameof(HipsTarget.torsoAnimator) + "." + nameof(HipsTarget.torsoAnimator.enabled));
|
||||
if (animatorProp == null || hipsTarget.humanoid == null || hipsTarget.humanoid.animatorEnabled)
|
||||
if (animatorProp == null || hipsTarget.humanoid == null || !hipsTarget.humanoid.animatorEnabled)
|
||||
return;
|
||||
|
||||
GUIContent text = new GUIContent(
|
||||
|
Loading…
x
Reference in New Issue
Block a user