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