// Start is called before the first frame update void Start() { wallJumpRequest = false; rb = GetComponent <Rigidbody2D>(); pm = GetComponent <PlayerMovement>(); pj = GetComponent <PlayerJump>(); bj = GetComponent <BetterJump>(); walling = GetComponent <Walling>(); }
// Start is called before the first frame update void Start() { //init var damageItems = false; canAcceptInput = true; currSwordMoveResetDelay = 0; currSwordMoveChangeDelay = 0; //init components rb = GetComponent <Rigidbody2D>(); pm = GetComponent <PlayerMovement>(); w = GetComponent <Walling>(); anim = GetComponent <Animator>(); }