Class ScriptableShopItem
Allows the item to be sold in the shop. Defines the name of the item and the image to be displayed in the shop.
Namespace: AutoBattleFramework.Shop
Assembly: cs.temp.dll.dll
Syntax
public abstract class ScriptableShopItem : ScriptableObject
Fields
descriptionImage
Image of the item that will be displayed in CharacterStatsUI. If null, the image displayed is itemImage.
Declaration
public Sprite descriptionImage
Field Value
Type | Description |
---|---|
Sprite |
itemDescription
Description of the item.
Declaration
public string itemDescription
Field Value
Type | Description |
---|---|
String |
itemID
Item identification. Used to check if a character or item is the same, but one level higher.
Declaration
public string itemID
Field Value
Type | Description |
---|---|
String |
itemImage
Image of the item that will be displayed in ItemImage.
Declaration
public Sprite itemImage
Field Value
Type | Description |
---|---|
Sprite |
itemName
Name of the item
Declaration
public string itemName
Field Value
Type | Description |
---|---|
String |
shopItem
Item that can be purchased in the shop.
Declaration
public GameActor shopItem
Field Value
Type | Description |
---|---|
GameActor |
shopItemUIPrefab
Prefab of the item interface in the shop.
Declaration
public ShopItemUI shopItemUIPrefab
Field Value
Type | Description |
---|---|
ShopItemUI |
Methods
ShowUIAdditional(ShopItemUI)
Displays additional information in the ShopItemUI of the item in the store.
Declaration
public abstract void ShowUIAdditional(ShopItemUI ui)
Parameters
Type | Name | Description |
---|---|---|
ShopItemUI | ui | Shop item UI |