在Unity3D中打开DLL

Open DLL in Unity3D

我想使用ZXing 库并先查看一些演示。网站说:

The following demo clients are available: -Unity3D and Vuforia demo (demonstrates encoding of barcodes and decoding of images from a camera with Unity3D)

我下载了,只是一堆DLL文件:

我如何运行统一?这应该是某种示例或演示,因为其他平台的演示,如 windows,包含 .EXE 文件。

您不能在任何地方 "run it",因为它们只是图书馆。 DLL 的目的是保存您可以引用的代码,dll 不是可执行文件

您可以从您的项目中引用这些库,然后在 ZXing 库上查看引用(只有 google 并且 Git 会出现)然后您可以使用方法,类 等来自那些 dll。

您应该尝试整个演示项目。 https://zxingnet.svn.codeplex.com/svn/trunk/Clients/UnityDemo/ 我认为这将使库的使用更加清晰。