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); } }
private void OnCollectAniComplete(UIPokerChip uIPokerChip) { uIPokerChip.Restore(); uIPokerChip.gameObject.SetActive(false); }