using MS; using TMPro; using UnityEngine; using UnityEngine.UI; using System; [ExecuteInEditMode] public class LevelGroupButton : MonoBehaviour { public LevelGroup levelGroup; // Use TMP_Text instead of Text public TMP_Text TitleLbl; public TMP_Text LevelCompletdLbl; public GameObject AwardGoldImage; public int TotalLevelsCompleted; private void Start() { UpdateUI(); GetComponent