private void OnTriggerEnter2D(Collider2D other) { if (other.gameObject.tag == "player") { // Debug.Log("collition"); SoundManagerScript.PlaySound("healthLoad"); Destroy(gameObject); KnightHealth.Health += 200; Vibration.Vibrate(10); scoreLogic.HealthTaken(); return; } }