uGUI練習 開篇


一、准備階段

1、Unity 4.6 Beta b18或更高版本(注:目前泄露版的Unity5.0Beta 對UI的支持並沒有4.6 Beta那么好)

image

2、了解 Unity 2D Sprite的基礎知識及操作(包括Sprite Packer及Sprite ),可參考我之前的文章:

Unity4.3 2D工具 的簡單使用教程

Unity4.3 Sprite Packer用法介紹

3、熟悉NGUI操作更佳,可參考http://game.ceeger.com/forum/index.php?m=space&uid=7487&page=1 或NGUI官方網站

 

二、練習內容

uGUI練習(一) Anchor

uGUI練習(二) Animate UI

uGUI練習(三) KeyBoard Navigation

uGUI練習(四) Light UI

uGUI練習(五) Draggable Object

uGUI練習(六) ScrollView

uGUI練習(七) Drag And Drop

uGUI練習(八) InputField

uGUI練習(九) Toggle Button

 

工程下載

基於Unity5.3.5f1的示例下載:https://github.com/zhaoqingqing/UGUIDemo/releases

練習的工程文件下載:http://pan.baidu.com/s/1dDcSoyl

UITest工程文件:http://pan.baidu.com/s/1gdf5X7P

三、資料參考

UGUI Experiment uGUI練習:https://github.com/kmitra/UGUIExperiment

Flop 翻轉效果 :https://github.com/rakkarage/Flop

HSV Color Picker 顏色選擇器:https://github.com/judah4/HSV-Color-Picker-Unity

 

四、其它

UITest 非常全面的Example:https://github.com/Gris87/UnityUITest  打包Project:http://pan.baidu.com/s/1gdAEfnl

英文入門篇:http://dev.classmethod.jp/client-side/unity-client-side/unity4-6-ui-components-property-list/

五、Unity官方UIProject

Widgets

UIBetaTestProject下載:http://forum.unity3d.com/threads/ui-example-project.263418/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM