Beispiel #1
0
        public void Clear()
        {
            if (pokerChips != null)
            {
                for (int i = 0; i < pokerChips.Length; i++)
                {
                    pokerChips[i].Restore();
                    pokerChips[i].gameObject.SetActive(false);
                }
            }

            if (totalChip != null)
            {
                totalChip.Restore();
                totalChip.gameObject.SetActive(false);
            }
        }
Beispiel #2
0
 private void OnCollectAniComplete(UIPokerChip uIPokerChip)
 {
     uIPokerChip.Restore();
     uIPokerChip.gameObject.SetActive(false);
 }