static void _SetFingerBoneTransform( ref Bone[] bones, Transform[,] transforms, int index )
{
if( bones == null || bones.Length != MaxHandFingerLength ) {
bones = new Bone[MaxHandFingerLength];
}
for( int i = 0; i != MaxHandFingerLength; ++i ) {
if( bones[i] == null ) {
bones[i] = new Bone();
}
bones[i].transform = transforms[index, i];
}
}