googlearchive / poly-toolkit-unity

Poly Toolkit for Unity
Apache License 2.0
101 stars 29 forks source link

This project is no longer being actively developed or maintained. We recommend directly utilizing the Poly API to access Poly assets from Unity, and using the existing Unity support for loading Poly compatible asset formats.

Poly Toolkit for Unity

Copyright (c) 2017 Google Inc. All rights reserved.

This is the source code for Poly Toolkit, a plugin for the Unity engine that allows you to import 3D assets from Poly at edit time and at runtime.

For more information, including setup instructions, refer to the online documentation.

Unity is a trademark of Unity Technologies.

Installing Poly Toolkit

If you are a user of Poly Toolkit (most common case), you probably do not need to download and build the source code. You can simply download a pre-built package.

More instructions are available in the online documentation.

Note: If you are using Unity 2018 or above, you will need to enable the unsafe code option in Player Settings before installing the package. This is because Poly Toolkit uses unsafe {} code blocks for direct pointer manipulation when parsing files, for performance reasons.

Building from Source

If the pre-built packages do not suit your needs (for example, you want the cutting edge features that are checked in but not yet part of the official releases), you can build from source. To do that:

Then, simply use this package file to install Poly Toolkit in any project.

License

For license information, see the LICENSE file.