// Use this for initialization void Start() { barnMove = GetComponent <BarnMove> (); state = CharState.Idle; barnAttack = GetComponentInChildren <BarnAttack> (); gameObject.tag = "Player"; animator = GetComponent <BarnAnimation>(); }
// Use this for initialization void Start() { rbody = rigidbody2D; rbody.fixedAngle = true; animator = GetComponent <BarnAnimation>(); controller = GetComponent <BearController>(); wallGrabCollider = GetComponentInChildren <WallGrabCollider> (); }