public void OnClickedMapTheme(int index) { ShopItemUI.Status status = mapThemeUiList[index].curStatus; if (status == ShopItemUI.Status.Owned) { SelectAndApplyMapTheme(index); } else if (status == ShopItemUI.Status.Locked) { OpenBuyPrompt(ShopItemUI.Type.MapTheme, index); } }
public void OnClickedSkin(int index) { ShopItemUI.Status status = skinUiList[index].curStatus; if (status == ShopItemUI.Status.Owned) { SelectAndApplySkin(index); } else if (status == ShopItemUI.Status.Locked) { OpenBuyPrompt(ShopItemUI.Type.FrogSkin, index); } }