Langsung ke konten
Skillpedia
Pemrograman umum6.3k Β· #14377

Install PuerTS for Unity

Fungsinya

Skill ini memandu pemasangan paket PuerTS ke dalam proyek Unity. Skill ini ditujukan untuk pengembang Unity yang ingin menjalankan JavaScript atau TypeScript di dalam game atau aplikasi mereka.

Kapan dipakai

  • βœ“Saat Anda ingin menambahkan PuerTS ke proyek Unity.
  • βœ“Ketika Anda perlu memilih versi PuerTS dan paket-paketnya yang tepat.
  • βœ“Saat Anda ingin memasang PuerTS dari arsip rilis atau tautan git.

Link skill

https://github.com/Tencent/puerts/blob/master/unity/skills/install-puerts-for-unity/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/Tencent/puerts/blob/master/unity/skills/install-puerts-for-unity/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œPasang PuerTS versi 3.0.2 ke proyek Unity saya dan sertakan paket Node.js.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini menanyakan versi yang Anda inginkan, mencari arsip rilis untuk versi tersebut, dan menjelaskan dependensinya. Setelah itu ia memandu pemasangan paket dengan unduhan atau URL git, dan menyiapkan Editor Assistant jika diperlukan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Install PuerTS for Unity

This skill guides you through downloading and installing PuerTS packages into a Unity project.

⚠️ Important: Always ask the user which PuerTS version they want to install if they haven't specified one. The version number follows the Core package's version (e.g., 3.0.2).


1. Release Page & Version

  • The release download page URL pattern is:
    https://github.com/Tencent/puerts/releases/tag/Unity_v{VERSION}
    
    For example: https://github.com/Tencent/puerts/releases/tag/Unity_v3.0.2

⚠️ Important β€” Version Numbers Inside Archives: The version number in the release page URL (e.g., Unity_v3.0.2) is based on the Core package version. However, the version numbers inside each .tar.gz filename may differ β€” each package follows its own versioning cadence. You may need to download/parse the release page HTML to determine the exact filenames available.


2. Available Packages

Each release page may contain the following .tar.gz archives, each corresponding to a UPM package:

Archive File UPM Package Has Native Plugins Always Available
PuerTS_Core_{ver}.tar.gz com.tencent.puerts.core βœ… Yes βœ… Yes
PuerTS_Lua_{ver}.tar.gz com.tencent.puerts.lua βœ… Yes βœ… Yes
PuerTS_Nodejs_{ver}.tar.gz com.tencent.puerts.nodejs βœ… Yes βœ… Yes
PuerTS_Python_{ver}.tar.gz com.tencent.puerts.python βœ… Yes βœ… Yes
PuerTS_Quickjs_{ver}.tar.gz com.tencent.puerts.quickjs βœ… Yes βœ… Yes
PuerTS_V8_{ver}.tar.gz com.tencent.puerts.v8 βœ… Yes βœ… Yes
PuerTS_Webgl_{ver}.tar.gz com.tencent.puerts.webgl ❌ No βœ… Yes
PuerTS_Agent_{ver}.tar.gz com.tencent.puerts.agent ❌ No ❌ Not every release
PuerTS_MCP_{ver}.tar.gz com.tencent.puerts.mcp ❌ No ❌ Not every release

Notable Package Features

  • com.tencent.puerts.agent: Provides an Agent framework for building LLM agents, and also includes an Agent-based Editor Assistant for Unity.
  • com.tencent.puerts.mcp: Provides an MCP (Model Context Protocol) framework, and also includes an MCP-based Editor Assistant for Unity.

Both the agent and mcp packages offer an Editor Assistant variant. See Section 5 for how to handle user requests like "install PuerTS Editor Assistant".


3. Package Dependencies

⚠️ Important: Packages have dependency relationships. When a user requests to install a package, you must ensure all of its dependencies are also installed.

Dependency Rules

  • com.tencent.puerts.core is the foundational package β€” all other packages depend on it.
  • com.tencent.puerts.agent depends on com.tencent.puerts.core + com.tencent.puerts.v8
  • com.tencent.puerts.mcp depends on com.tencent.puerts.core + com.tencent.puerts.v8 + com.tencent.puerts.agent
  • All backend packages (com.tencent.puerts.v8, com.tencent.puerts.lua, com.tencent.puerts.nodejs, com.tencent.puerts.python, com.tencent.puerts.quickjs, com.tencent.puerts.webgl) depend on com.tencent.puerts.core

Dependency Graph

com.tencent.puerts.core  (required by all)
  β”œβ”€β”€ com.tencent.puerts.v8
  β”‚     β”œβ”€β”€ com.tencent.puerts.agent
  β”‚     β”‚     └── com.tencent.puerts.mcp
  β”‚     └── com.tencent.puerts.mcp
  β”œβ”€β”€ com.tencent.puerts.nodejs
  β”œβ”€β”€ com.tencent.puerts.lua
  β”œβ”€β”€ com.tencent.puerts.python
  β”œβ”€β”€ com.tencent.puerts.quickjs
  └── com.tencent.puerts.webgl

Examples of Automatic Dependency Resolution

User requests to install Must also install
agent core, v8
mcp core, v8, agent
mcp + agent core, v8
v8 core
lua core

4. Installation Methods

4.1 Download & Extract Method (Required for packages with native plugins)

The following packages contain compiled native binary plugins and must be installed by downloading from the release page:

  • com.tencent.puerts.core
  • com.tencent.puerts.lua
  • com.tencent.puerts.nodejs
  • com.tencent.puerts.python
  • com.tencent.puerts.quickjs
  • com.tencent.puerts.v8

Steps:

  1. Go to https://github.com/Tencent/puerts/releases/tag/Unity_v{VERSION}
  2. Download the required .tar.gz file(s) (e.g., PuerTS_Core_3.0.2.tar.gz)
  3. Extract the archive β€” it will produce a directory (e.g., core/) co
Pertanyaan umum

Apakah ia menanyakan versi yang saya inginkan?

Ya, skill ini menanyakan versi jika Anda belum memberikannya.

Bagaimana paket dipasang?

Skill ini bisa memasangnya dari arsip yang diunduh atau dari URL git.

Paket mana yang menjadi dasar nomor versi?

Nomor versi mengikuti paket Core.

Detail

Deskripsi asli dari pembuat

Guide for downloading and installing PuerTS UPM packages into a Unity project β€” covers version selection, package dependencies, download/extract and git URL installation methods, and Editor Assistant setup.

repo: Tencent/puerts

Popularitas

Bintang GitHub
6.3k
Peringkat
#14377
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa