feat(ui): 添加终端章节面板标题本地化
This commit is contained in:
@@ -34,6 +34,7 @@ namespace AibisDream
|
||||
{
|
||||
chapterSo = chapterSo,
|
||||
title = chapterSo.title,
|
||||
titleKey = chapterSo.titleKey,
|
||||
chapter = chapterSo.chapter,
|
||||
desc = chapterSo.description,
|
||||
pic = chapterSo.coverPic,
|
||||
@@ -122,6 +123,7 @@ namespace AibisDream
|
||||
public struct ChapterVo
|
||||
{
|
||||
public string title;
|
||||
public string titleKey;
|
||||
public string chapter;
|
||||
public string desc;
|
||||
public Sprite pic;
|
||||
|
||||
@@ -31,6 +31,10 @@ namespace AibisDream
|
||||
#region 用于显示的字段
|
||||
|
||||
public string title;
|
||||
|
||||
[Tooltip("章节面板显示用本地化 Key,对应 ChapterInfo 表条目;为空则回退 title")]
|
||||
public string titleKey;
|
||||
|
||||
public string description;
|
||||
public Sprite coverPic;
|
||||
public string chapter;
|
||||
|
||||
Reference in New Issue
Block a user