public Transform GetBoneTransform(int index) { if (index >= 0 && index < bones.Length) { return bones[index]; } return null; }