// Use this for initialization void Start() { rb = GetComponent <Rigidbody2D> (); ground = GetComponent <isGrounded> (); collid = GetComponent <BoxCollider2D> (); anim = GetComponent <Animator> (); }