GDTKItemSetBonus.UpdateBonus
Declaration#
public void UpdateBonus(Inventory inventory, Int32 oldCount, Int32 currentCount)Parameters#
| Name | Description |
|---|---|
| inventory | Inventory containing the items |
| oldCount | Old number of items in set equipped |
| currentCount | Current 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); }}