Example #1
0
    protected override void UpdateItemComponent()
    {
        Component.ItemName    = Name;
        Component.ItemTexture = Resources.Load("ItemPNG/flower") as Texture;
        GameObject button = InventoryManager.Instance.CreateSellButton(this);

        Component.AddButton(button);
    }