public void Setup(int _maxLives)
{
MaxLives = CurrLives = _maxLives;
foreach (MinigamesUISingleLife life in lives) Destroy(life.gameObject);
lives.Clear();
for (int i = 0; i < MaxLives; ++i) {
MinigamesUISingleLife life = (MinigamesUISingleLife)Instantiate(LifePrefab, LifePrefab.transform.parent, false);
life.gameObject.SetActive(true);
lives.Add(life);
}
IsSetup = true;
}