コード例 #1
0
ファイル: FlowerFactory.cs プロジェクト: 1cekrim/flower
    protected override void UpdateItemComponent()
    {
        Component.ItemName    = Name;
        Component.ItemTexture = Resources.Load("ItemPNG/flower") as Texture;
        GameObject button = InventoryManager.Instance.CreateSellButton(this);

        Component.AddButton(button);
    }