public void HitOther(Collider other) { if (other.CompareTag("Enemy")) { damage.HitEnemy(other.gameObject, pushHeight, pushForce); } else if (other.CompareTag("Interactable")) { damage.Interact(other.gameObject); } else if (other.CompareTag("Environment")) { Debug.Log("hit environment - set up ik?"); } else if (other.CompareTag("Untagged")) { Debug.Log("hit something untagged"); } else { Debug.LogError("Not prepared to hit object with tag " + other.tag + "...it's name is " + other.transform.name); } //throw new System.NotImplementedException(); }