using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class LevelButton : MonoBehaviour { public int level; public TextMeshProUGUI levelText; public void Initialization(int level) { this.level = level; levelText.text = "Level " + level.ToString(); } }