Inventory Filter UGUI
π InventoryFilterUGUI Class
An inventory filter for uGUI support. Requires Button component.
Namespace:
Esper.Inventool.UI.UGUIAccess:publicType:classAttributes:[RequireComponent(typeof(Button))]Inherits:MonoBehaviour
π¦ Fields
Access
Field
Type
Description
public
button
Button
The button component.
private
image
Image
The image that displays the filter icon.
public
itemType
ItemType
The item type. (Hidden in inspector)
π§° Methods
Access
Method
Returns
Description
public
SetSprite(Sprite sprite, Color color)
void
Sets the sprite and tint, enables image when sprite is present.
Last updated