From c5b4f742f3e61455fc1e2781d09c8d173c91cec8 Mon Sep 17 00:00:00 2001 From: Ino Date: Fri, 26 Sep 2025 09:14:43 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9F=AD=ED=82=A4=20=EA=B2=8C=EC=9E=84=20?= =?UTF-8?q?=EB=9E=9C=EB=8D=A4=20=EC=97=AC=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Game/Game_Lucky.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/Game/Game_Lucky.cs b/Assets/Scripts/Game/Game_Lucky.cs index 10fba87..0b16be9 100644 --- a/Assets/Scripts/Game/Game_Lucky.cs +++ b/Assets/Scripts/Game/Game_Lucky.cs @@ -33,6 +33,7 @@ public class Game_Lucky : MonoBehaviour ProtectedInt32 TotalBubbleAmount = 50; AsyncOperationHandle m_Handle, m_HandleSD; + int curGirl; private void Awake() { @@ -56,23 +57,24 @@ public class Game_Lucky : MonoBehaviour ADInfo.Ins.Set_Banner(false); bRotCup = false; + curGirl = Random.Range(1, 9); i_girl.enabled = false; - AddrResourceMgr.Ins.LoadObject($"Girl_LuckyGame/{SaveMgr.Ins.Get_SelectGirlID()}.png", handle => + AddrResourceMgr.Ins.LoadObject($"Girl_LuckyGame/{curGirl}.png", handle => { m_Handle = handle; i_girl.enabled = true; i_girl.sprite = handle.Result; }); i_girlsd.enabled = false; - AddrResourceMgr.Ins.LoadObject($"Girl_Game/{SaveMgr.Ins.Get_SelectGirlID()}sd.png", handle => + AddrResourceMgr.Ins.LoadObject($"Girl_Game/{curGirl}sd.png", handle => { m_HandleSD = handle; i_girlsd.enabled = true; i_girlsd.sprite = handle.Result; }); - DSUtil.InActivateGameObjects(gos_boobs, SaveMgr.Ins.Get_SelectGirlID() - 1); + DSUtil.InActivateGameObjects(gos_boobs, curGirl - 1); // tf_cup 초기화 tf_cup.localPosition = Vector3.zero;