[Fix] Name & add meta

This commit is contained in:
2026-03-01 16:23:41 +07:00
parent 3c50415111
commit 85d639aa70
36 changed files with 98 additions and 98 deletions
@@ -34,11 +34,11 @@ namespace YachtDice.Tests
Object.DestroyImmediate(go.gameObject);
}
private ModifierDefinitionSO CreateDef(string id = "test",
private ModifierDefinition CreateDef(string id = "test",
bool hasLimitedUses = false, int maxUses = 0,
int shopPrice = 100, int sellPrice = 50)
{
return ModifierDefinitionSO.CreateForTest(id, null,
return ModifierDefinition.CreateForTest(id, null,
hasLimitedUses: hasLimitedUses, maxUses: maxUses,
shopPrice: shopPrice, sellPrice: sellPrice);
}
@@ -97,7 +97,7 @@ namespace YachtDice.Tests
[Test]
public void TryPurchase_FiresPurchaseEvent()
{
ModifierDefinitionSO purchased = null;
ModifierDefinition purchased = null;
shop.OnItemPurchased += def => purchased = def;
var mod = CreateDef("test", shopPrice: 100);