럭키 게임 랜덤 여성

This commit is contained in:
Ino 2025-09-26 09:14:43 +09:00
parent 718fdce996
commit c5b4f742f3
1 changed files with 5 additions and 3 deletions

View File

@ -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<Sprite>($"Girl_LuckyGame/{SaveMgr.Ins.Get_SelectGirlID()}.png", handle =>
AddrResourceMgr.Ins.LoadObject<Sprite>($"Girl_LuckyGame/{curGirl}.png", handle =>
{
m_Handle = handle;
i_girl.enabled = true;
i_girl.sprite = handle.Result;
});
i_girlsd.enabled = false;
AddrResourceMgr.Ins.LoadObject<Sprite>($"Girl_Game/{SaveMgr.Ins.Get_SelectGirlID()}sd.png", handle =>
AddrResourceMgr.Ins.LoadObject<Sprite>($"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;