InterruptMatchTarget() public méthode

public InterruptMatchTarget ( ) : void
Résultat void
    public void SettingAvatar()
    {
        animator = root_object.AddComponent<Animator>();
        animator.InterruptMatchTarget();	// 強制的にAvatarのターゲットを設定

        SetIKs();

        //// 各主要部位のTransformを取得してくる
        //avt_root = FindChild("センター", root_object.transform);
        //avt_right_hand = FindChild("右手首", root_object.transform);
        //avt_left_hand = FindChild("左手首", root_object.transform);
        //avt_right_foot = FindChild("右足首", root_object.transform);
        //avt_left_foot = FindChild("左足首", root_object.transform);
        //avt_body = FindChild("上半身", root_object.transform);

        //Debug.Log(animator.IsControlled(avt_root));
        //Debug.Log(avt_right_hand);

        //// Animatorに設定
        //Match(avt_root,			AvatarTarget.Root);
        //Match(avt_right_hand,	AvatarTarget.RightHand);
        //Match(avt_left_hand,	AvatarTarget.LeftHand);
        //Match(avt_right_foot,	AvatarTarget.RightFoot);
        //Match(avt_left_foot,	AvatarTarget.LeftFoot);
        //Match(avt_body,			AvatarTarget.Body);
    }
    public void SettingAvatar()
    {
        animator = root_object.AddComponent<Animator>();
        animator.InterruptMatchTarget();	// �����I��Avatar�̃^�[�Q�b�g��ݒ�

        SetIKs();

        //// �e��v���ʂ�Transform��擾���Ă���
        //avt_root = FindChild("�Z���^�[", root_object.transform);
        //avt_right_hand = FindChild("�E���", root_object.transform);
        //avt_left_hand = FindChild("�����", root_object.transform);
        //avt_right_foot = FindChild("�E����", root_object.transform);
        //avt_left_foot = FindChild("������", root_object.transform);
        //avt_body = FindChild("�㔼�g", root_object.transform);

        //Debug.Log(animator.IsControlled(avt_root));
        //Debug.Log(avt_right_hand);

        //// Animator�ɐݒ�
        //Match(avt_root,			AvatarTarget.Root);
        //Match(avt_right_hand,	AvatarTarget.RightHand);
        //Match(avt_left_hand,	AvatarTarget.LeftHand);
        //Match(avt_right_foot,	AvatarTarget.RightFoot);
        //Match(avt_left_foot,	AvatarTarget.LeftFoot);
        //Match(avt_body,			AvatarTarget.Body);
    }