InventoryPickup.SetExactReference
Declaration#
public void SetExactReference(GDTKItem reference)Parameters#
| Name | Description |
|---|---|
| reference | Item to add reference for |
Description#
Set reference to an exact item with stats and plugins
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void Example(InventoryPickup target, GDTKItem other) { target.SetExactReference(other); }
}