【剧情编辑器】增加压缩动画二次确认
parent
a7e0de23eb
commit
3b48f8fa44
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in New Issue