Skip to main content

InventoryThemeUI.OpenMerchantWindow

Declaration#

public ThemeWindowUI OpenMerchantWindow(Merchant merchant, string id)

Parameters#

NameDescription
merchantAssociated Merchant to use
idId of a specific window to use (first found if Id is null)

Description#

Opens a Merchant window

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(InventoryThemeUI target, Merchant other)    {        target.OpenMerchantWindow(other, "optionalId");    }

}