public long GetChipValue(EChip eChip) { if ((int)eChip >= 0 && (int)eChip < (int)EChip.Count) { return(chipValueList[(int)eChip]); } else { return(-1); } }
public Sprite GetChipDarkSprite(EChip eChip) { if ((int)eChip >= 0 && (int)eChip < (int)EChip.Count) { return(chipDarkSpriteList[(int)eChip]); } else { return(null); } }
public void Init(EChip eChip) { chipType = eChip; Value = GameHelper.Instance.GetChipValue(eChip); chipImage.sprite = GameHelper.Instance.GetChipSprite(eChip); }