public virtual void OnCollisionEnter2D(Collision2D other) { //TODO: retrieve arrows that I started standing on while CanRetrieve was false if (other.gameObject.tag == Constants.PROJECTILE && shoot && shoot.CanRetrieve()) { Arrow otherArr = other.gameObject.GetComponent <Arrow>(); if (otherArr.canRetrieve) { shoot.Retrieve(otherArr.gameObject); } } //if (other.gameObject.tag == Constants.ENEMY) { // Destroy(this.gameObject); //} }