Merchant.ToggleWindowById
Declaration#
public virtual void ToggleWindowById(string windowId)Parameters#
| Name | Description |
|---|---|
| windowId | Id of the window to open/close |
Description#
Open/Close a window by id
Usage#
Example
using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void ExampleMethod(Merchant target, string windowId) { // Open or close a window by id target.ToggleWindowById(windowId); }
}