Exemplo n.º 1
0
 private void SetImmortal()
 {
     gameObject.GetComponent <Collider2D>().enabled    = false;
     gameObject.GetComponent <SpriteRenderer>().sprite = ResourcesLoader.GetFilledSpaceshipSprite();
 }