void WasHit(GameObject Enemy)
    {
        if (miniHealthBarBackground != null)
        {
            miniHealthBarBackground.SetAlphaToOne();
            miniHealthBar.SetAlphaToOne();
        }
        Vector3 posDiff = transform.position - Enemy.transform.position;

        rb.AddForce(posDiff.normalized * knockbackStrength, ForceMode.Impulse);

        float damageTaken = Enemy.GetComponent <EnemyDamageDealt> ().damageDealt;

        if (godModeActive)
        {
            healthObject.TakeDamage(0.0f);
        }
        else
        {
            healthObject.TakeDamage(damageTaken);
        }

        ttc.ChangeColor(Color.red);

        ScreenShakeEffect.Shake();
        EnableInvincible();
    }