Topic
2つのテキストを並べて表示する要素を生成します。 ステータス能力のように名前+ベース値のように表示される箇所で使用されています。
UIItem YKLayout.Topic(string text, string? value = null)
UIItem YKLayout.TopicAttribute(string text, string? value = null)
UIItem YKLayout.TopicDomain(string text, string? value = null)
UIItem YKLayout.TopicLeft(string text, string? value = null)
UIItem YKLayout.TopicPair(string text, string? value = null)
引数
引数 | 型 | 説明 |
---|---|---|
text | string | 左側に表示するテキスト |
value | string | 右側に表示するテキスト |
サンプル
public override void OnLayout()
{
layout.Topic("テキスト1", "テキスト2");
}