public override void GetHit(Hitbox hitbox) { CameraFollow.screenShakeAmount += 10 * GetDamage(hitbox); FreezeFrame((GetDamage(hitbox))); UIManager.instance.SetHealthbar(hp, maxHp); StartCoroutine("ChangeColor", GetDamage(hitbox)); //knockback Vector2 direction = transform.position - hitbox.transform.position; rocketController.AddForce(GetKnockback(hitbox) * direction); }