Public CharacterController2D Controller
Public CharacterController2D Controller
void Start()
{
bc = GetComponent<BoxCollider2D>();
}
animator.SetFloat("Speed", Mathf.Abs(horizontalMove));
if (Input.GetButtonDown("Jump"))
{
jump = true;
animator.SetBool("IsJumping", true);
}