public void SetLevelUpInterface(MainMenuUI mainmenu) { levelUpInterface = mainmenu; skillUI.SetInterface(this, mainmenu); for (int i = 0; i < 5; i++) { actives[i].GetComponent <EquipedSkillUI>().SetInterface(mainmenu); } }