From 475408e223200f8e45fd766f0e1a1647e8d4af56 Mon Sep 17 00:00:00 2001 From: "aube.lee" Date: Thu, 27 Feb 2025 22:58:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20IngameUI=20=EC=9D=B4=EB=B2=A4=ED=8A=B8?= =?UTF-8?q?=20=EC=97=B0=EA=B2=B0=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EB=B6=80=EB=B6=84=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gameton-06/Assets/Gameton/Scripts/UI/IngameUI.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/IngameUI.cs b/Gameton-06/Assets/Gameton/Scripts/UI/IngameUI.cs index b7c4be51..56c86a2e 100644 --- a/Gameton-06/Assets/Gameton/Scripts/UI/IngameUI.cs +++ b/Gameton-06/Assets/Gameton/Scripts/UI/IngameUI.cs @@ -23,11 +23,6 @@ namespace TON private int lastSeconds = -1; private string cachedTimeString = "00:00"; - // public TextMeshProUGUI monsterHp; - // public Image monsterHpBar; - // public Image monsterImage; - - private string playerType; [SerializeField] private CharacterBase character; @@ -35,7 +30,7 @@ namespace TON private void OnEnable() { - character = GameObject.FindWithTag("Player").GetComponent(); + character = GameObject.Find("TON.Player").GetComponentInChildren(); playerType = PlayerDataManager.Singleton.player.type; if (character != null)