Skip to main content

InventoryPickup.SetExactReference

Declaration#

public void SetExactReference(GDTKItem reference)

Parameters#

NameDescription
referenceItem 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);    }
}