LimitWeightPlugin.StackRemoved
Declaration#
public virtual void StackRemoved(GDTKItem item)Parameters#
| Name | Description |
|---|---|
| item | Item removed |
Description#
Stack removed from Inventory
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Inventory target) { foreach(InventoryPluginWrapper wrapper in target.plugins) { wrapper.plugin.StackRemoved(InventoryDatabase.instance.items[0]); } }}