using System.Collections; using System.Collections.Generic; using UnityEngine; //Dont Forget to Change #yourScriptName and write your Script Name... public class #yourScriptName: MonoBehaviour { //Here Write your Motion Script Name instead of #YourMotionScriptName public motion InsertyourMotionScript; //Here Write your Jumping Script Name instead of #YourJumpScriptName public #YourJumpScriptName InsertyourJumpScript; private Animator animator; // Start is called before the first frame update void Start() { animator = GetComponent(); } // Update is called once per frame void Update() { if(InsertyourMotionScript.Run && InsertyourJumpScript.isTouchingGround){ //Here Write Your Bool name instead of YourWalkBoolName That you created inside the Parameters in the Animator animator.SetBool(" YourWalkBoolName ", true); }else{ //Here also Write Your Bool name instead of YourWalkBoolName That you created inside the Parameters in the Animator animator.SetBool(" YourWalkBoolName ", false); } } }