public void CreatView(DialogType type) { foreach (var I in dialogs) { if (I.Dialog == type) { //TODO 生成窗口? DialogBase dialog = Instantiate(I); dialogSaver.Push(dialog); dialog.ShowView(); break; } } }