public void ReportDeath() { isDeath = true; gameObject.GetComponent <Collider>().enabled = false; knightControl.ReportDeath(); // anim.SetInteger("Speed", 6); }