feat: FlowAsync调整

This commit is contained in:
2026-08-05 21:14:06 +08:00
parent 9c3c467046
commit 121e7f398c
13 changed files with 513 additions and 59 deletions
@@ -1803,6 +1803,14 @@ namespace AibisDream.FrameAnimation.Editor
AddReadOnly(body, "ID", flow.Id);
AddReadOnly(body, "Entry Node", flow.EntryNodeId);
AddBoundProperty(body, serialized, property.FindPropertyRelative("displayName"), "Display Name");
AddBoundProperty(
body,
serialized,
property.FindPropertyRelative("asyncCompletionMode"),
"Async Completion");
body.Add(CreateCallout(
"Only affects async playback when the resolved terminal clip loops.",
"fa-callout--info"));
AddBoundProperty(body, serialized, property.FindPropertyRelative("hasEndBehaviorOverride"), "Override End Behavior");
AddBoundProperty(body, serialized, property.FindPropertyRelative("endBehaviorOverride"), "End Behavior");
@@ -2513,6 +2521,14 @@ namespace AibisDream.FrameAnimation.Editor
EditorGUILayout.PropertyField(property.FindPropertyRelative("entryNodeId"));
}
EditorGUILayout.PropertyField(property.FindPropertyRelative("displayName"));
EditorGUILayout.PropertyField(
property.FindPropertyRelative("asyncCompletionMode"),
new GUIContent(
"Async Completion",
"Only affects async playback when the resolved terminal clip loops."));
EditorGUILayout.HelpBox(
"Async Completion only affects a Flow whose resolved terminal clip loops.",
MessageType.Info);
EditorGUILayout.PropertyField(property.FindPropertyRelative("hasEndBehaviorOverride"));
if (property.FindPropertyRelative("hasEndBehaviorOverride").boolValue)
{