Skip to main content

GDTKItemSetBonus.UpdateBonus

Declaration#

public void UpdateBonus(Inventory inventory, Int32 oldCount, Int32 currentCount)

Parameters#

NameDescription
inventoryInventory containing the items
oldCountOld number of items in set equipped
currentCountCurrent number of items in set equipped

Description#

Update bonus applied by set

Usage#

Example
using NullSave.GDTK.Inventory;using UnityEngine;public class Example : MonoBehaviour{    public void ExampleMethod(GDTKItemSetBonus target, Inventory other)    {        target.UpdateBonus(other, 0, 3);    }}