private void OnTriggerEnter2D(Collider2D other) { if (other.CompareTag("Player")) { PlayerMovement player = other.transform.GetComponent <PlayerMovement>(); if (player) { player.AddControl(this.keyPress, this.controlDirection); // Todo: determine if different enemies damage different controls } Destroy(this.gameObject); //Debug.Log("Control Hit"); } }