Installation
Add Pixel Engine to your Unity project.
Via Project Settings (Recommended)
- Open Edit > Project Settings > Package Manager
- Under Scoped Registries, click +
- Fill in:
| Field | Value |
|---|---|
| Name | PixelEngine |
| URL | https://registry.npmjs.org |
| Scope(s) | com.pixelengine |
- Click Save
- Open Window > Package Manager
- In the top-left dropdown, switch to My Registries
- Find Pixel Engine and click Install
Via manifest.json
Open YourProject/Packages/manifest.json and add:
{
"scopedRegistries": [
{
"name": "PixelEngine",
"url": "https://registry.npmjs.org",
"scopes": ["com.pixelengine"]
}
],
"dependencies": {
"com.pixelengine": "2.0.0"
}
}
Via Git URL
Window > Package Manager > + > Add package from git URL...
https://github.com/savesyncgames-sudo/PixelEngine.git#v2.0.0
After Installation
- Verify
Pixel Engine /menu appears in Unity - Run Pixel Engine / Setup All to scaffold your project (details)
- Restart Unity for script templates to appear in the Create menu
Verify
| Check | Where |
|---|---|
Pixel Engine / menu |
Unity menu bar |
com.pixelengine |
Window > Package Manager |
using PixelEngine.Architecture; |
Compiles without errors |
npm Package
https://www.npmjs.com/package/com.pixelengine
Next Steps
- Project Setup — run Setup All
- First Module — create your first module
- Maintaining This Package — versioning and publishing