本地化
This commit is contained in:
@@ -61,7 +61,7 @@ namespace AibisDream
|
||||
_dialogText = transform.Find(DialogText)?.gameObject.GetComponent<TypewriterByCharacter>();
|
||||
_nextArray = transform.Find(NextArray)?.gameObject;
|
||||
_choiceBox = transform.Find(ChoiceBox)?.gameObject;
|
||||
|
||||
|
||||
OnAwake();
|
||||
}
|
||||
|
||||
@@ -85,7 +85,6 @@ namespace AibisDream
|
||||
/// <param name="dialogLine">对话内容</param>
|
||||
/// <param name="character">角色内容</param>
|
||||
/// <param name="nextStep">下一步</param>
|
||||
/// <param name="onTextShowed">文字展示结束后触发</param>
|
||||
/// <param name="isAutoSkip">是否自动跳过,默认为false</param>
|
||||
public virtual void ShowLine(string dialogLine, CharacterVo character, Action nextStep, bool isAutoSkip = false)
|
||||
{
|
||||
@@ -196,7 +195,7 @@ namespace AibisDream
|
||||
{
|
||||
if (!_actorName) return;
|
||||
|
||||
if (string.IsNullOrWhiteSpace(character.GetActorName()))
|
||||
if (string.IsNullOrWhiteSpace(character.key))
|
||||
{
|
||||
_actorName.transform.parent.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user