シート更新 shopdataに非表示フラグ追加
This commit is contained in:
parent
66778cdb99
commit
f3eee3fb8f
|
|
@ -1 +1 @@
|
||||||
sSWyGJvMwKyrXPGa+UcR7ijwM+qeMX15w5gLe+ThVpwdHKCThwekRwehV+QJtIy+
|
LqzefEWOl7H56PREiEe6yHXVsWi1rP2xEXLtQnk4QSVaXJB6jqQqJ4eRIzADDaN5
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -448,10 +448,12 @@ public sealed class ShopData {
|
||||||
public int category;
|
public int category;
|
||||||
public int consumeType;
|
public int consumeType;
|
||||||
public string prefabName;
|
public string prefabName;
|
||||||
|
public int hide;
|
||||||
public string Name => LocalizationManager.GetTranslation($"Item/MaterialName{id:0000}");
|
public string Name => LocalizationManager.GetTranslation($"Item/MaterialName{id:0000}");
|
||||||
public string Text => LocalizationManager.GetTranslation($"Item/MaterialText{id:0000}");
|
public string Text => LocalizationManager.GetTranslation($"Item/MaterialText{id:0000}");
|
||||||
public ItemCategory Category => (ItemCategory)category;
|
public ItemCategory Category => (ItemCategory)category;
|
||||||
public ShopItemType ConsumeType => (ShopItemType)consumeType;
|
public ShopItemType ConsumeType => (ShopItemType)consumeType;
|
||||||
|
public bool IsHide => hide == 1;
|
||||||
|
|
||||||
public Transform GetPrefab()
|
public Transform GetPrefab()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue