An inventory filter for uGUI support. Requires Button component.
Namespace: Esper.Inventool.UI.UGUI Access: public Type: class Attributes: [RequireComponent(typeof(Button))] Inherits: MonoBehaviour
Esper.Inventool.UI.UGUI
public
class
[RequireComponent(typeof(Button))]
MonoBehaviour
button
Button
The button component.
private
image
Image
The image that displays the filter icon.
itemType
ItemType
The item type. (Hidden in inspector)
SetSprite(Sprite sprite, Color color)
void
Sets the sprite and tint, enables image when sprite is present.
Last updated 4 months ago