【剧情编辑器】增加压缩动画二次确认

main
刘涛 2026-05-22 15:32:45 +08:00
parent a7e0de23eb
commit 3b48f8fa44
1 changed files with 4 additions and 1 deletions

View File

@ -148,7 +148,10 @@ namespace Gameplay.Story.Cmp
if (GUILayout.Button("压缩所有动画", GUILayout.Height(50)))
{
_CompressAllAnim();
if (EditorUtility.DisplayDialog("确认", "确定要压缩所有动画吗?此操作不可撤销。", "确定", "取消"))
{
_CompressAllAnim();
}
}
if (GUILayout.Button("运行剧情", GUILayout.Height(50)))