feat(dialog): 允许梦境选项提示语跨节点保留
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -59,11 +59,6 @@ namespace AibisDream
|
|||||||
return YarnTask.CompletedTask;
|
return YarnTask.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnNodeExit(string nodeName)
|
|
||||||
{
|
|
||||||
ClearPendingOptionPrompt();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void LoadBubbles(BubbleSlotGroupData data)
|
public void LoadBubbles(BubbleSlotGroupData data)
|
||||||
{
|
{
|
||||||
defaultViewType = data.dialogViewType;
|
defaultViewType = data.dialogViewType;
|
||||||
|
|||||||
+2
-1
@@ -14,6 +14,7 @@
|
|||||||
约束:
|
约束:
|
||||||
|
|
||||||
- `#option_prompt` 只用于 Dream Options。
|
- `#option_prompt` 只用于 Dream Options。
|
||||||
- 提示语应紧邻其选项组;中间可以包含 Yarn 命令,但不能包含其他普通台词。
|
- 提示语可以跨越 Yarn 节点;中间可以包含节点跳转和 Yarn 命令,但不能包含其他普通台词。
|
||||||
- 如果下一组内容不是 Dream Options,缓存的提示语会被丢弃。
|
- 如果下一组内容不是 Dream Options,缓存的提示语会被丢弃。
|
||||||
|
- 整段对话结束后,尚未使用的提示语会被丢弃。
|
||||||
- 提示语仍参与 Yarn Spinner 本地化,正文取当前语言的本地化结果。
|
- 提示语仍参与 Yarn Spinner 本地化,正文取当前语言的本地化结果。
|
||||||
|
|||||||
Reference in New Issue
Block a user