public void MeltHeros() { CharectorStats.meltHero(SelectedToMeltList, xpToBeAdded); int tempHero = CharectorStats.getTempHero(); if (isMaxedTemp) { CharectorStats.updateHero(tempHero, CharectorStats.XpOfMaxLevel(tempHero), CharectorStats.findCurrentMaxLevel(tempHero)); xpslide.reduceTempMax(); } PlayServices.Instance.SaveData(); OnEnable(); }