feat: 스테이지 타이틀 데이터 매핑
This commit is contained in:
@@ -645,6 +645,7 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
stageEntryButton: {fileID: 7881644893557345821}
|
stageEntryButton: {fileID: 7881644893557345821}
|
||||||
|
stageTitle: {fileID: 5563710392318594705}
|
||||||
stageImage: {fileID: 8654573821297256642}
|
stageImage: {fileID: 8654573821297256642}
|
||||||
starGroup: {fileID: 3135648780667157969}
|
starGroup: {fileID: 3135648780667157969}
|
||||||
starPrefab: {fileID: 1094882719706695268}
|
starPrefab: {fileID: 1094882719706695268}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using TMPro;
|
||||||
using UnityEditor.SceneManagement;
|
using UnityEditor.SceneManagement;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Assertions;
|
using UnityEngine.Assertions;
|
||||||
@@ -10,6 +11,7 @@ namespace TON
|
|||||||
public class LobbyUI_StagePage : MonoBehaviour
|
public class LobbyUI_StagePage : MonoBehaviour
|
||||||
{
|
{
|
||||||
public Button stageEntryButton;
|
public Button stageEntryButton;
|
||||||
|
public TextMeshProUGUI stageTitle;
|
||||||
public GameObject stageImage;
|
public GameObject stageImage;
|
||||||
public Transform starGroup;
|
public Transform starGroup;
|
||||||
public StageStar starPrefab;
|
public StageStar starPrefab;
|
||||||
@@ -37,6 +39,7 @@ namespace TON
|
|||||||
|
|
||||||
SetStageImage();
|
SetStageImage();
|
||||||
SetStageEntryInfo(index);
|
SetStageEntryInfo(index);
|
||||||
|
stageTitle.text = $"stage {index + 1}";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetStageEntryInfo(int index)
|
private void SetStageEntryInfo(int index)
|
||||||
|
|||||||
Reference in New Issue
Block a user