public void updateLives() { if (livesSprites[player_stats.getLives()].gameObject) { Destroy(livesSprites[player_stats.getLives()].gameObject); } }