diff --git a/Gameton-06/Assets/Gameton/Resources/UI/Stage/StagePage.prefab b/Gameton-06/Assets/Gameton/Resources/UI/Stage/StagePage.prefab index 4e998b3e..9c9b4550 100644 --- a/Gameton-06/Assets/Gameton/Resources/UI/Stage/StagePage.prefab +++ b/Gameton-06/Assets/Gameton/Resources/UI/Stage/StagePage.prefab @@ -645,6 +645,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: stageEntryButton: {fileID: 7881644893557345821} + stageTitle: {fileID: 5563710392318594705} stageImage: {fileID: 8654573821297256642} starGroup: {fileID: 3135648780667157969} starPrefab: {fileID: 1094882719706695268} diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/LobbyUI_StagePage.cs b/Gameton-06/Assets/Gameton/Scripts/UI/LobbyUI_StagePage.cs index 1661603d..35e2769b 100644 --- a/Gameton-06/Assets/Gameton/Scripts/UI/LobbyUI_StagePage.cs +++ b/Gameton-06/Assets/Gameton/Scripts/UI/LobbyUI_StagePage.cs @@ -1,5 +1,6 @@ using System.Collections; using System.Collections.Generic; +using TMPro; using UnityEditor.SceneManagement; using UnityEngine; using UnityEngine.Assertions; @@ -10,6 +11,7 @@ namespace TON public class LobbyUI_StagePage : MonoBehaviour { public Button stageEntryButton; + public TextMeshProUGUI stageTitle; public GameObject stageImage; public Transform starGroup; public StageStar starPrefab; @@ -37,6 +39,7 @@ namespace TON SetStageImage(); SetStageEntryInfo(index); + stageTitle.text = $"stage {index + 1}"; } private void SetStageEntryInfo(int index)