Merchant.Restock
Declaration#
public void Restock(bool clearExisting, bool resetCurrency)Parameters#
| Name | Description |
|---|---|
| clearExisting | Clear existing items before restocking |
| resetCurrency | Reset available currency |
Description#
Restock items in vendor
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void Example(Merchant target) { target.Restock(true, true); }
}