カスタマイズの購入タイプを追加
This commit is contained in:
parent
eaf064024c
commit
573a7a5cf6
|
|
@ -160,6 +160,12 @@ public enum ShopCustomizeCategory
|
|||
// Category6 = 6, // 背景
|
||||
}
|
||||
|
||||
public enum ShopCustomizePriceType
|
||||
{
|
||||
Coin = 1,
|
||||
TotalScore1 = 2,
|
||||
}
|
||||
|
||||
public enum ShopCustomizeBonusCategory
|
||||
{
|
||||
Sales = 1,
|
||||
|
|
@ -482,10 +488,12 @@ public sealed class ShopCustomizeData {
|
|||
public int category;
|
||||
public int price;
|
||||
public int point;
|
||||
public int priceType;
|
||||
public string prefabName;
|
||||
public string Name => LocalizationManager.GetTranslation($"Item/ShopCustomizeName{id:0000}");
|
||||
public string Text => LocalizationManager.GetTranslation($"Item/ShopCustomizeText{id:0000}");
|
||||
public ShopCustomizeCategory Category => (ShopCustomizeCategory)category;
|
||||
public ShopCustomizePriceType PriceType => (ShopCustomizePriceType)priceType;
|
||||
|
||||
public Transform GetPrefab()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue