2013年7月4日 星期四

NGUI setup

NGUI Setting Up

Open Unity -> Import the NGUI Package
Import the GUI package

Follow the steps below:

Toolbar -> NGUI
Open the Widget Wizard
Open the UI Wizard

Dock the Widget Wizard and UI Wizard next to Hierarchy Tab.
Add a new Layer in the Inspector

Name the Layer "NGUI".


Go to the UI Wizard Tab
Select "NGUI" as the layer.
Press "Create Your UI"


Some objects will be added to your Hierarchy Tab.
Accordingly, you will see them in the Scene View as well.
Your Hierarchy Tab will look like this.

Go to the Widget Wizard Tab.
Drag & Drop the Atlas you want to use to the red box.

Drag & Drop the Font you want to use to the orange box.

You can now add your GUI elements.

沒有留言:

張貼留言