StatModifierPlugin.OnItemDropped
Declaration#
public virtual bool OnItemDropped(GDTKItem droppedItem)Parameters#
| Name | Description |
|---|---|
| droppedItem | Item being dropped |
Description#
Method called when another item is dropped onto this one (return true if event handled)
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void ExampleMethod(StatModifierPlugin target, GDTKItem other) { bool result = target.OnItemDropped(other); }
}