static void _SetBoneTransform( ref Bone bone, Transform transform ) { if( bone == null ) { bone = new Bone(); } bone.transform = transform; }