public void AddNewLife(float big) { float tmp = 0f; newLife += big; if (newLife >= 1f) { tmp = newLife - 1f; Life.AddHeart(); newLife = tmp; } }