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)

引数

引数説明
textstring左側に表示するテキスト
valuestring右側に表示するテキスト

サンプル

public override void OnLayout()
{
    layout.Topic("テキスト1", "テキスト2");
}