UnityEngine.Animator.InterruptMatchTarget C# (CSharp) Method

InterruptMatchTarget() public method

public InterruptMatchTarget ( ) : void
return void
		public void InterruptMatchTarget(){}
		public void ForceStateNormalizedTime(float normalizedTime){}

Same methods

Animator::InterruptMatchTarget ( bool completeMatch ) : void

Usage Example

    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);
    }
All Usage Examples Of UnityEngine.Animator::InterruptMatchTarget
Animator