• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 311, comments - 0, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            (搬運工)Unity開發(fā)之NGUI系列

            Posted on 2013-10-17 19:47 點點滴滴 閱讀(2266) 評論(0)  編輯 收藏 引用 所屬分類: 02 編程語言

            在Unity開發(fā)中收集了一些插件,收集這些插件的目的并不是我喜歡在開發(fā)中使用插件。本著喜歡的態(tài)度去收集的,就像我喜歡收集模型一樣;還有一點就是通過了解插件能讓我知道Unity更多的功能與應用,假設說:我想做一個RPG的手機游戲,但是不知道如何通過做出打斗的那種真實感,在Assets Store已經(jīng)有這樣的pack或kit,我就可以從它的代碼結構,資源使用及Demo截圖、文字描述中大概得知一二,再經(jīng)過分析,能為我做好前期的準備工作,及項目規(guī)化。當然了收集這么多插件,有些也是因為在Assets Store上宣傳特別地給力,所以想收藏過來看一看其強大之處……

            相對收集插件及模型來說,我更偏向看Unity方面的書箱,讀書能夠讓我更全面地了解unity方方面面,包括一些基礎的技能。

            其中與NGUI相關的一系列的插件就有如下:(還有一些未整理)image,版本也從剛開始使用的2.0到現(xiàn)在的3.0.1,經(jīng)歷這么多的版本變化,對我來說,我要使用的核心的功能還是一樣“提高開發(fā)效率,減少Draw Call。”

            最常用的要數(shù)NGUI、NGUI&HUD Text、StarlinkUI,其它的僅打開看了,沒有應用到具體的項目中

            以下是部分插件在Assets Store上的截圖

            image

            檢視面板

            image

            UI的MVVM模式

            image

            文字添加右鍵功能

            image

            PS——>Unity

            image

            深度管理

            image

            屏幕適配

            image

            HUD Text漂浮的文字

            image

            主UI庫

            image

            我把它當作成品UI庫

            image

            在NGUI中使用Html標簽

            在使用3.0的時候,在readme中的這段話讓我考慮了一下是否繼續(xù)提升當前的NGUI版本:

            *** WARNING *** PLEASE BACK UP YOUR PROJECT BEFORE UPDATING! 3.0.0 is a major changeset. You will need to open and re-save all of your scenes and prefabs after updating! After updating, expect some things to no longer work the same way they used to. Widgets scale is no longer used as its size, so any code that you had relying on this will need to change to use 'width' and 'height'. You can also expect compile errors related to delegate usage. The following links may help you:  http://www.youtube.com/watch?v=uNSZsMnhS1o&list=UUQGZdUwzE8gmvgjomZSNFJg http://www.tasharen.com/forum/index.php?topic=11.msg27296#msg27296  3.0.0: - NEW: Changed the way widgets get batched, properly fixing all remaining Z/depth issues. - NEW: Draw calls are now automatically split up as needed (no more sandwiching issues!) - NEW: Re-designed the way widget width & height gets specified. The values are now explicit, and scale is no longer used. - NEW: NGUI will now automatically replace UITextures with Sprites when they get added to an atlas. - NEW: It's now possible to have clipped panels in 3D and not have them break when tilting the camera. - NEW: It's now possible to nest widgets. - NEW: It's now possible to have multiple widgets on the same object. - NEW: It's now possible to change the selection handles color via the NGUI menu. - NEW: UICheckbox is now a UIToggle, and you now specify a 'group' ID rather than a common root object. - NEW: Added TweenWidth and TweenHeight to tween widgets width and height properties. - NEW: You can now specify the label overflow method: shrink content, clamp content, resize height, or resize freely. - NEW: When labels are in "resize label" overflow mode, the drag handles will be greyed out. - NEW: Added a simple EventDelegate class and improved all generic components to use it. - NEW: Added a Widget Container class that can be used to easily select and move groups of widgets (think: buttons, windows). - NEW: Added the RealTime helper class that removed IgnoreTimeScale. Usage: RealTime.time, RealTime.deltaTime. - NEW: Improved the inspector look of just about every component. - NEW: UIPanel now shows a list of all of its draw calls and the widgets causing them. - NEW: Added a way to auto-normalize the depth hierarchy from the NGUI menu. - NEW: You can now hide explicit draw calls by collapsing the draw call fold-outs on the panel. - NEW: Sprite selection window now shows sprite names as well. - NEW: Atlas maker will now automatically sort the sprites, saving them in an alphabetical order. - NEW: UICamera now has a better inspector, and it automatically hides properties if it's not the main one. - FIX: CTRL+ and CTRL- now adjust all widgets under the selected object. - FIX: Labels will now again align vertically properly. - FIX: Atlas maker will now respect textures that were imported with a non-native size. - FIX: Atlas maker will no longer change so many import settings on source textures. - FIX: Make Pixel Perfect is now undoable. - FIX: You can once again rename sprites in the atlas. - DEL: Removed the long-ago deprecated UISlicedSprite, UITiledSprite, and UIFilledSprite classes and some other legacy code.

            當我把原來的項目中的NGUIv2.6.4換成3.0之后有很多的Error,看著這些Error,權衡了一下與我們現(xiàn)在的項目(中國風跑酷)的關系,決定選擇V2.7.0比較妥當。我也明白太過追求最新的版本并不是最好的,考慮到我們組的開發(fā)人員有限(目前U3D只有兩名),另外我要花時間去了解新版本特性及其修改的地方(Component細微的改變),但是項目組沒有預算到這部分時間,所以穩(wěn)定版的才是最適合我們的。

            久久黄视频| 久久91精品国产91久久小草| 久久人人爽人人人人片av| 久久w5ww成w人免费| 久久婷婷五月综合色99啪ak| 思思久久精品在热线热| 国产精品99久久99久久久| 欧美性大战久久久久久| 国产亚洲婷婷香蕉久久精品| 精品人妻伦九区久久AAA片69| 欧美一区二区精品久久| 久久综合久久自在自线精品自| 精品视频久久久久| 久久久久久狠狠丁香| 中文字幕热久久久久久久| 亚洲欧洲中文日韩久久AV乱码| 久久国产精品99久久久久久老狼| 伊人色综合久久天天人手人婷| 久久久久久噜噜精品免费直播 | 狠狠精品久久久无码中文字幕| 国产成人精品久久| av无码久久久久不卡免费网站 | 久久综合给合久久狠狠狠97色69| 天天影视色香欲综合久久| 国产L精品国产亚洲区久久| 狠狠色噜噜狠狠狠狠狠色综合久久| 人妻丰满AV无码久久不卡| 亚洲国产精品无码久久久秋霞2 | 久久国产精品-久久精品| 99久久777色| 精品国产91久久久久久久| 国内精品久久人妻互换| 国产成人久久精品一区二区三区| 久久久一本精品99久久精品88 | 久久久久国产精品人妻| 国产成人无码精品久久久性色| 久久久SS麻豆欧美国产日韩| 无码任你躁久久久久久老妇App| 7777精品伊人久久久大香线蕉| 亚洲?V乱码久久精品蜜桃 | 亚洲色欲久久久久综合网|