void Death() { GetComponent <Collider2D>().enabled = false; Anim.SetTrigger("death"); Debug.Log(name + " dead"); bandit.addGem(); is_dead = true; this.enabled = false; }