"흔들었을 때 나오는 팝업 UI에 나오는 카드 정보가 항상 송학(1월) 4개짜리 이미지 항태로만 출력되고 있음
(흔드시겠습니까? 팝업은 정상으로 출력되나, 흔들었습니다. 하고 나오는 팝업 UI가 문제)"
This commit is contained in:
parent
3d545c57a8
commit
7bc1cbc810
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: e6c55b600f8006a44921a15d2773fe75
|
guid: d9c3a35cda8460c45b0f78edf822ab44
|
||||||
labels:
|
labels:
|
||||||
- gvh
|
- gvh
|
||||||
- gvh_version-9.5.0
|
- gvh_version-9.5.0
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,5 @@ adb shell setprop debug.firebase.analytics.app .none.
|
||||||
|
|
||||||
|
|
||||||
고스톱 비용
|
고스톱 비용
|
||||||
기장료 110,000원
|
|
||||||
인증서 110,000원
|
인증서 110,000원
|
||||||
게등위 480,000원
|
게등위 480,000원
|
||||||
|
|
@ -1 +1 @@
|
||||||
12
|
13
|
||||||
|
|
@ -64,13 +64,14 @@ public partial class GamePanel : MonoBehaviour
|
||||||
// 테스트 (원하는 카드 세팅)
|
// 테스트 (원하는 카드 세팅)
|
||||||
{
|
{
|
||||||
// 고정시킬 카드 순서
|
// 고정시킬 카드 순서
|
||||||
//var fixedCards = new List<ECardType> { ECardType.Jan_Ghwang, ECardType.Jan_Hongdan,
|
var fixedCards = new List<ECardType> { ECardType.Jan_Ghwang, ECardType.Jan_Hongdan,
|
||||||
// ECardType.Jan_Normal_1, ECardType.Jan_Normal_2 };
|
ECardType.Jan_Normal_1, ECardType.Jan_Normal_2 };
|
||||||
//var fixedCards2 = new List<ECardType> { ECardType.May_Yulkkeut, ECardType.May_Chodan,
|
var fixedCards2 = new List<ECardType> { ECardType.May_Yulkkeut, ECardType.May_Chodan,
|
||||||
// ECardType.May_Normal_1, ECardType.May_Normal_2 };
|
ECardType.May_Normal_1, ECardType.May_Normal_2 };
|
||||||
//SetCardsAtIndex(_lstCardSlots, fixedCards2, 0); // 플레이어 총통
|
//SetCardsAtIndex(_lstCardSlots, fixedCards2, 0); // 플레이어 총통
|
||||||
//SetCardsAtIndex(_lstCardSlots, fixedCards, 9); // AI 총통
|
//SetCardsAtIndex(_lstCardSlots, fixedCards, 9); // AI 총통
|
||||||
|
|
||||||
|
//SetCardsAtIndex(_lstCardSlots, new List<ECardType> { ECardType.May_Chodan, ECardType.May_Normal_1, ECardType.May_Normal_2 }, 0); // 플레이어 총통
|
||||||
//SetCardsAtIndex(_lstCardSlots,
|
//SetCardsAtIndex(_lstCardSlots,
|
||||||
// new List<ECardType> { ECardType.Jan_Ghwang, ECardType.Jan_Hongdan, ECardType.Jan_Normal_1 }, 9); // AI 흔들기
|
// new List<ECardType> { ECardType.Jan_Ghwang, ECardType.Jan_Hongdan, ECardType.Jan_Normal_1 }, 9); // AI 흔들기
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,10 @@ public class ShakePopup : PopupBase
|
||||||
|
|
||||||
public void SetData(ECardType[] cardTypes, bool fourCard)
|
public void SetData(ECardType[] cardTypes, bool fourCard)
|
||||||
{
|
{
|
||||||
if (cardTypes != null && cardTypes.Length == Images.Length)
|
if (cardTypes != null && cardTypes.Length <= Images.Length)
|
||||||
for (int i = 0; i < Images.Length; i++)
|
for (int i = 0; i < Images.Length; i++)
|
||||||
{
|
{
|
||||||
|
Images[i].gameObject.SetActive(false);
|
||||||
if (i == Images.Length - 1)
|
if (i == Images.Length - 1)
|
||||||
{
|
{
|
||||||
if (fourCard)
|
if (fourCard)
|
||||||
|
|
@ -18,11 +19,12 @@ public class ShakePopup : PopupBase
|
||||||
Images[i].gameObject.SetActive(true);
|
Images[i].gameObject.SetActive(true);
|
||||||
Images[i].sprite = GameManager.Resource.GetSprite(cardTypes[i]);
|
Images[i].sprite = GameManager.Resource.GetSprite(cardTypes[i]);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
Images[i].gameObject.SetActive(false);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
Images[i].gameObject.SetActive(true);
|
||||||
Images[i].sprite = GameManager.Resource.GetSprite(cardTypes[i]);
|
Images[i].sprite = GameManager.Resource.GetSprite(cardTypes[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StartCoroutine(coroHide());
|
StartCoroutine(coroHide());
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,8 @@ public class ShakeSelectPopup : PopupBase
|
||||||
GameManager.Sound.PlaySFX(ESFXType.Button_Hit);
|
GameManager.Sound.PlaySFX(ESFXType.Button_Hit);
|
||||||
GameManager.Event.InvokeEvent(EEventType.OnSynchronizeGameData);
|
GameManager.Event.InvokeEvent(EEventType.OnSynchronizeGameData);
|
||||||
GameManager.UI.HideTopPopup();
|
GameManager.UI.HideTopPopup();
|
||||||
GameManager.UI.ShowNStackPopup<ShakePopup>(EPopupType.ShakePopup).SetData(cardTypes, _isFourCard);
|
var sp = GameManager.UI.ShowNStackPopup<ShakePopup>(EPopupType.ShakePopup);
|
||||||
|
sp.SetData(cardTypes, _isFourCard);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ClickNo()
|
public void ClickNo()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue