Importing NGUI
First of all, create a new Unity project with the name LearnNGUI
.
Now that we have our new project, there are two different ways to import NGUI. Follow the Importing from the Asset Store section if you buy the plugin directly from the Asset Store.
If you already have the package on your disk, move on to the Importing from disk section.
Importing from the Asset Store
After buying the product from the Asset Store, download and import it by performing the following steps:
- Navigate to Window | AssetStore.
- Select your Downloads library. Once your downloads library is open, find the plugin within the list of packages. The result is shown in the following screenshot:
- Now, click on the Download button (1) next to NGUI: Next-Gen UI.
- Click on the Import button (2), and wait for a pop-up window to appear.
Ok. Once the Importing package pop-up window appears, skip the following section (reserved for users who already have the NGUI package on disk) and move on to the Package Importing section of the book.
Importing from a disk
If you already have NGUI's Unity package on your disk, follow these steps:
- Navigate to Assets | Import Package | Custom Package...
- Browse to your NGUI's
.unitypackage
file location. - Double-click on the
.unitypackage
file to import it.
When the Importing package window is displayed, continue to the next section.