|
Elin Modding Docs Doc
|
Public Member Functions | |
| void | SetChara (Chara c) |
| RenderRow | GetRenderRow () |
| void | OnRefreshPref () |
| void | Clear () |
| UIButton | AddSubButton (Sprite sprite, Action action, string lang=null, Action< UITooltip > onTooltip=null) |
| void | SetMainText (string lang, Sprite sprite=null, bool disableMask=true) |
| UIButton | SetSubText (string lang, int x, FontColor c=FontColor.Default, TextAnchor align=TextAnchor.MiddleLeft) |
| UIButton | SetSubText2 (string lang, FontColor c=FontColor.Default, TextAnchor align=TextAnchor.MiddleRight) |
| T | AddPrefab< T > (string id) |
| void | SetSound (SoundData data=null) |
| void | DisableIcon () |
| void | DisableMask () |
| void | Build () |
Public Member Functions inherited from IPrefImage | |
Public Attributes | |
| LayoutGroup | layout |
| int | paddingSubText = 50 |
| Card | card |
Definition at line 6 of file ItemGeneral.cs.
| T ItemGeneral.AddPrefab< T > | ( | string | id | ) |
| T | : | Component |
Definition at line 128 of file ItemGeneral.cs.
| UIButton ItemGeneral.AddSubButton | ( | Sprite | sprite, |
| Action | action, | ||
| string | lang = null, | ||
| Action< UITooltip > | onTooltip = null ) |
Definition at line 62 of file ItemGeneral.cs.
| void ItemGeneral.Build | ( | ) |
Definition at line 157 of file ItemGeneral.cs.
| void ItemGeneral.Clear | ( | ) |
Definition at line 46 of file ItemGeneral.cs.
| void ItemGeneral.DisableIcon | ( | ) |
Definition at line 140 of file ItemGeneral.cs.
| void ItemGeneral.DisableMask | ( | ) |
Definition at line 151 of file ItemGeneral.cs.
| RenderRow ItemGeneral.GetRenderRow | ( | ) |
Implements IPrefImage.
Definition at line 26 of file ItemGeneral.cs.
| void ItemGeneral.OnRefreshPref | ( | ) |
Implements IPrefImage.
Definition at line 37 of file ItemGeneral.cs.
| void ItemGeneral.SetChara | ( | Chara | c | ) |
Definition at line 9 of file ItemGeneral.cs.
| void ItemGeneral.SetMainText | ( | string | lang, |
| Sprite | sprite = null, | ||
| bool | disableMask = true ) |
Definition at line 88 of file ItemGeneral.cs.
| void ItemGeneral.SetSound | ( | SoundData | data = null | ) |
Definition at line 134 of file ItemGeneral.cs.
| UIButton ItemGeneral.SetSubText | ( | string | lang, |
| int | x, | ||
| FontColor | c = FontColor::Default, | ||
| TextAnchor | align = TextAnchor::MiddleLeft ) |
Definition at line 108 of file ItemGeneral.cs.
| UIButton ItemGeneral.SetSubText2 | ( | string | lang, |
| FontColor | c = FontColor::Default, | ||
| TextAnchor | align = TextAnchor::MiddleRight ) |
Definition at line 119 of file ItemGeneral.cs.
| Card ItemGeneral.card |
Definition at line 182 of file ItemGeneral.cs.
| LayoutGroup ItemGeneral.layout |
Definition at line 176 of file ItemGeneral.cs.
| int ItemGeneral.paddingSubText = 50 |
Definition at line 179 of file ItemGeneral.cs.