private void Awake() { _rb = GetComponent <Rigidbody2D>(); _sr = GetComponent <SpriteRenderer>(); _keyBinder = GetComponent <KeyboardKeyBinder>(); _anim = GetComponent <Animator>(); _knockback = GetComponent <EntityKnockback>(); _dashesLeft = MaxDashes; }
private void Awake() { _rb = GetComponent <Rigidbody2D>(); _keyBinder = GetComponent <KeyboardKeyBinder>(); _JumpsLeft = MaxJumps; }