Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.4 KB

install.md

File metadata and controls

38 lines (25 loc) · 1.4 KB

How to install

Add from OpenUPM | available in 2018+

PuerTS Has Uploaded to OpenUPM: https://openupm.com/packages/com.tencent.puerts.core/

you can follow the guide of OpenUPM to install


Add from GitHub | available in 2019.4+

You can add it directly from GitHub on Unity 2019.4+. Note that you won't be able to receive updates through Package Manager this way, you'll have to update manually.

  • open Package Manager
  • click +
  • select Add from Git URL
  • paste https://github.com/chexiongsheng/puerts_unity_demo.git?path=/package
  • click Add

Download code and native plugins manually | available in all version It's friendly for self modifing。
  1. Goto Github Releases to download PuerTS_V8_x.x.x.tgz or some other PuerTS version you need.
  2. Extract it into your Assets directory

If you're using Unity2018 or below. you have to append .txt to the builtin js code in the PuerTS

if you found the problem caused in mac os: puerts.bundle is damaged. you can do sudo xattr -r -d com.apple.quarantine puerts.bundle. But is may cause git problem