디버그 기능 제거
This commit is contained in:
@@ -141,34 +141,5 @@ public class NPCDialogueManager : MonoBehaviour
|
||||
typingCoroutine = null;
|
||||
}
|
||||
|
||||
// 디버그용 임시 OnGUI 버튼
|
||||
private void OnGUI()
|
||||
{
|
||||
GUI.backgroundColor = Color.yellow;
|
||||
|
||||
if (GUI.Button(new Rect(Screen.width - 240, 10, 220, 50), "Debug: Get NPC Dialogue"))
|
||||
{
|
||||
Player player = FindObjectOfType<Player>();
|
||||
if (player != null)
|
||||
{
|
||||
RequestNPCDialogue(player.Generation);
|
||||
}
|
||||
else
|
||||
{
|
||||
RequestNPCDialogue(1);
|
||||
}
|
||||
}
|
||||
|
||||
if (dialoguePanel != null && dialoguePanel.activeSelf)
|
||||
{
|
||||
GUI.color = Color.white;
|
||||
GUI.Box(new Rect(Screen.width - 450, 70, 430, 120), "늙은 문지기 '발두르'의 조언 (Debug)");
|
||||
|
||||
GUIStyle dialogueStyle = new GUIStyle(GUI.skin.label);
|
||||
dialogueStyle.wordWrap = true;
|
||||
dialogueStyle.fontSize = 14;
|
||||
|
||||
GUI.Label(new Rect(Screen.width - 440, 95, 410, 90), lastDialogueText, dialogueStyle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user