In this lesson, you will learn how to expand Unity's capabilities by installing official feature sets and custom tools using the Unity Package Manager.
What is the Package Manager?
Think of the Unity Package Manager as an "App Store" built directly into the Unity Editor. While your project starts with a core set of features, many specialized tools—like the Visual Effect Graph for high-end particles or ProBuilder for in-editor 3D modeling—are kept in separate, optional packages to keep your project lightweight. By installing only what you need, you maintain a clean project structure.
Accessing the Manager
To open it, navigate to Window > Package Manager. You will see a list of packages categorized by "Unity Registry." These are official, supported tools vetted by Unity.
Installing a Package
When you find a package you need, simply select it from the list and click the Install button in the bottom right corner. Unity will automatically download the files, update your project’s metadata, and integrate the new tools into your Editor.
Managing Local Custom Tools
Sometimes, you or your team might write a custom tool (like a script that automatically organizes your hierarchy or sets up standard layer configurations). You can install these as "local" packages. By selecting the + icon in the Package Manager and choosing Add package from disk..., you can point Unity to a folder containing a package.json file. This tells Unity to treat that folder as an external, reusable toolset, separate from your main Assets folder.
This keeps your specialized logic organized away from your gameplay scripts, ensuring your project remains modular and easy to manage as it grows in complexity.
Example Workflow
If you want to use the Input System instead of the old legacy system:
- Open Package Manager.
- Select Unity Registry from the top dropdown.
- Search for
Input System. - Click Install.
- Unity may prompt you to restart the Editor to finalize the integration.
Once installed, the new functionality becomes a core part of your project’s environment.
Key Takeaway: The Package Manager allows you to extend your editor’s functionality by installing curated tools and local utilities, keeping your project organized and tailored to your specific development needs.