在Unity中打开pdf文件 [英] Open pdf files in Unity

查看:537
本文介绍了在Unity中打开pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有任何Unity工具或插件可以在游戏内打开PDF文件.我不存在这些东西,也许有可以自动将PDF文件转换为图像的工具.

there is any tool or plugin for Unity that can open PDF files inside the game. I none of these exist, maybe there is tool that can automatically convert PDF files to images.

推荐答案

您可以使用以下文件打开文件

You can open a file with

Application.OpenURL("file:///c:/filename.PDF");

但是,如果您想在游戏窗口上显示它,那将更加棘手.但是,这里有一些很好的讨论: http://forum.unity3d.com/threads/71964-PDF阅读器

but if you want to show it on the game window then it is a bit more trickier. Nevertheless here is some good discussion about it: http://forum.unity3d.com/threads/71964-PDF-reader

这篇关于在Unity中打开pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆