흔들기 예외처리
This commit is contained in:
parent
9d4c66b119
commit
7b7554e9dd
|
|
@ -1,14 +1,14 @@
|
|||
using CodeJay.Enum;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class ShakePopup : PopupBase
|
||||
{
|
||||
[SerializeField] private UnityEngine.UI.Image[] Images;
|
||||
private ECardType[] cardTypes;
|
||||
|
||||
public void SetData(ECardType[] cardTypes, bool fourCard)
|
||||
{
|
||||
if (cardTypes != null && cardTypes.Length == Images.Length)
|
||||
for (int i = 0; i < Images.Length; i++)
|
||||
{
|
||||
if (i == Images.Length - 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue