From f514f8f9c3fe41206dc57733d4725e5a9b59b1c8 Mon Sep 17 00:00:00 2001 From: Lillith Rose Date: Wed, 11 Mar 2026 23:33:25 -0400 Subject: [PATCH] FindChildRecursive allows disabled --- AAC/AACCore/Editor/AACCore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AAC/AACCore/Editor/AACCore.cs b/AAC/AACCore/Editor/AACCore.cs index 752e976..2899b7e 100644 --- a/AAC/AACCore/Editor/AACCore.cs +++ b/AAC/AACCore/Editor/AACCore.cs @@ -40,11 +40,11 @@ namespace gay.lilyy.aaccore } public static Transform FindChildRecursive(Transform parent, string name) { - return parent.GetComponentsInChildren().FirstOrDefault(t => t.gameObject.name == name); + return parent.GetComponentsInChildren(true).FirstOrDefault(t => t.gameObject.name == name); } public static Transform[] FindChildrenRecursive(Transform parent, string name) { - return parent.GetComponentsInChildren().Where(t => t.gameObject.name == name).ToArray(); + return parent.GetComponentsInChildren(true).Where(t => t.gameObject.name == name).ToArray(); } public static AacFlClip CreateConstraintWeightClip(AACAssets assets, VRCParentConstraint constraint, int index, int indexCount) {