Definition at line 1 of file GridItemRecipe.cs.
◆ OnClick()
override void GridItemRecipe.OnClick |
( |
ButtonGrid |
b | ) |
|
|
inlinevirtual |
◆ SetButton()
override void GridItemRecipe.SetButton |
( |
ButtonGrid |
b | ) |
|
|
inlinevirtual |
Reimplemented from GridItem.
Definition at line 5 of file GridItemRecipe.cs.
6 {
7 b.mainText.text = "1";
11 {
16 {
17 note.AddText(r.GetDetail());
18 note.Space();
19 }
21 {
22 note.AddText("reqFactory".lang(r.source.NameFactory));
23 }
24 else
25 {
26 note.AddText("reqNoFactory".lang());
27 }
29 });
30 }
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
virtual RenderRow renderRow
virtual string GetDetail()
void SetImage(Image image, Sprite sprite=null, int matCol=0, bool setNativeSize=true, int dir=0, int idSkin=0)
UIItem AddHeaderCard(string text, Sprite sprite=null)
References UINote.AddHeaderCard(), UINote.Build(), UINote.Clear(), Recipe.GetDefaultColor(), Recipe.GetDetail(), UIButton.icon, if(), UIButton.mainText, Recipe.Name, RecipeSource.NeedFactory, UITooltip.note, r, Recipe.renderRow, RenderRow.SetImage(), UIButton.SetTooltip(), and Recipe.source.
The documentation for this class was generated from the following file: