private void ChangeSelectionHandAnimation()
 {
     if (usePreviousAnimationOnHandAnimation)
     {
         // TODO: 以前のアニメーションの取得
     }
     else
     {
         handPoseAnim = HandPose.GetHandAnimationClip(selectedHandAnim);
     }
 }
 public void ChangeSaveAnimationState(
     string animName = "",
     HandPose.HandPoseType selectedHandAnim = HandPose.HandPoseType.NoSelection,
     AnimationClip handPoseAnim             = null)
 {
     this.animName         = animName;
     this.selectedHandAnim = selectedHandAnim;
     if (handPoseAnim is null)
     {
         handPoseAnim = HandPose.GetHandAnimationClip(this.selectedHandAnim);
     }
     this.handPoseAnim = handPoseAnim;
 }
 public void ChangeSaveAnimationState(
     string animName            = "",
     int selectStateIndex       = 0,
     AnimationClip handPoseAnim = null)
 {
     this.animName = animName;
     // TODO: 一時対処
     this.selectedHandAnim = HandPose.HandPoseType.NoSelection;
     if (handPoseAnim is null)
     {
         handPoseAnim = HandPose.GetHandAnimationClip(this.selectedHandAnim);
     }
     this.handPoseAnim = handPoseAnim;
 }
        private void ChangeSelectionHandAnimation()
        {
            if (usePreviousAnimationOnHandAnimation)
            {
                var animController    = originalAvatar.StandingAnimController;
                var previousAnimation = animController[AnimationsGUI.HANDANIMS[(int)selectedHandAnim - 1]];

                // 未設定でなければ以前設定されていたものをHandPoseAnimationとして使う
                if (previousAnimation != null && previousAnimation.name != AnimationsGUI.HANDANIMS[(int)selectedHandAnim - 1])
                {
                    handPoseAnim = previousAnimation;
                }
                else
                {
                    handPoseAnim = HandPose.GetHandAnimationClip(selectedHandAnim);
                }
            }
            else
            {
                handPoseAnim = HandPose.GetHandAnimationClip(selectedHandAnim);
            }
        }