对话回顾
This commit is contained in:
@@ -34,6 +34,15 @@ namespace AibisDream.Kit
|
||||
public string headPicPath;
|
||||
public string voicePath;
|
||||
public ActorRole role;
|
||||
|
||||
/// <summary>
|
||||
/// 获取角色应该显示的名字
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string GetActorName()
|
||||
{
|
||||
return string.IsNullOrEmpty(nameColor) ? cn : $"<color={nameColor}>{cn}</color>";
|
||||
}
|
||||
}
|
||||
|
||||
public enum ActorRole
|
||||
|
||||
Reference in New Issue
Block a user