private void SetMortal() { gameObject.GetComponent <Collider2D>().enabled = true; gameObject.GetComponent <SpriteRenderer>().sprite = ResourcesLoader.GetSpaceshipSprite(); }