SolClovser.CaseOpeningToolkit.Base.CaseItemBase

Public Fields

Generic fields that’s common in every item.

public long itemId;
public RawImage itemIcon;       // The raw image component that holds the item icon.
public string itemName;
public int itemValue;

Properties

public float ProbabilityInheritedFromGroup

The true probability of the item, inherited from the group it was in.



Methods

Overrideable Methods

public virtual void Setup()

Called during the population process of the case, when the item is instantiated. You can override this to do any setup work in your item. For example; setting the name text of the item.