SlotItemMonitor changable Item Icons and changable DropPrefabs

echtnice

Member
These changes which may also be relevant for the others. Perhaps it is possible to consider them for the next updates.

1. Set icons dynamically.

Item.cs

Code:
public sprite icon {get {return m_Icon; } set {m_Icon = value; }}

SlotItemMonitor.cs
Code:
public image ItemIcon { get {return m_ItemIcon; } }

2. Changable Items to drop
Item.cs

Code:
public GameObject DropPrefab
{
get {return m_DropPrefab; }
set {m_DropPrefab = value; }
}
 
Top