EVG
Member
Hello,
I suggest adding events to the Drop ability that are triggered when attempting to drop an item that cannot be dropped. Something like this:
Also, I suggest changing all private variables to protected.
I suggest adding events to the Drop ability that are triggered when attempting to drop an item that cannot be dropped. Something like this:
C#:
EventHandler.ExecuteEvent(m_GameObject, "TryDropNonDroppableItem", m_Items[i].ItemIdentifier.GetItemDefinition(), -1);