2023-08-22 17:58:50 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
2023-09-07 22:15:24 +00:00
|
|
|
using TMPro;
|
2023-08-22 17:58:50 +00:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class LevelButton : MonoBehaviour
|
|
|
|
{
|
|
|
|
public int level;
|
2023-10-22 16:54:30 +00:00
|
|
|
[SerializeField] private TextMeshProUGUI levelText;
|
2023-08-22 17:58:50 +00:00
|
|
|
public void Initialization(int level)
|
|
|
|
{
|
|
|
|
this.level = level;
|
2023-09-07 22:15:24 +00:00
|
|
|
levelText.text = "Level " + level.ToString();
|
2023-08-22 17:58:50 +00:00
|
|
|
}
|
|
|
|
}
|