原创 Itween Ease Type

1.When using iTween you can select from a range of ease types. Knowing what they are ain’t easy. Luckily you can find a

原创 Maya Programming

         1.Maya編程能做什麼?       如果你只是模型渲染之類的,MaYa編程可以不學.甚至你用3DS MAX都可以~無所謂就是個建模操作平臺..MAYA的腳本語言是MEL,做特效,動畫之類學好它是很必要的,特別是粒子

原创 Unity study 141125-1

協同程序原理        在主程序運行時同時開啓另一段邏輯處理,來協同當前程序的執行。 1.開啓協同程序就是開啓一個線程 2.MonoBehaviour也是一個線程,與協同程序是互不干擾的模塊。 3.MonoBehaviour與協同

原创 Does Unity Care is a texture of power of two

1. I`ve heard rumours that future graphics cards are not longer bound to the pow 2 rule, but current Graphics cards us

原创 What is the difference between using a script and an animation?

1. Scripted movement is easier for movements that can be described as a s

原创 製作lightMap

Link: http://www.unitysnippets.theoriginalyeti.co.uk/index.php/2014-08-18-21-13-43

原创 3d 視頻切換到全屏播放

項目:3d場景中播放一個小窗口的視頻,點擊視頻,放大爲屏幕上的全屏視頻。再點擊視頻,縮小爲原來的小窗口的視頻繼續播放視頻。 1.Unity3D 中,在三維場景中呈現播放視頻,將視頻組件放到相應的Plane下,調整其位置,縮放,旋轉。 2

原创 Playmaker Activate and send event

1.Activate a gameObect 2.the GameObject that have events to Execute in sequence 3.When send a Event to the GameObject t

原创 Unity3d美顏濾鏡

這個美顏濾鏡效果,是全局磨皮,保留了皮膚細節,去除了青春痘和皺紋,整體提亮了下,人一下子變漂亮了。手機上運行良好。 借鑑了網上的平湖美顏算法,還有雙邊濾波。也參考shadertoy上的美顏效果。最後做出一版在unity運行的簡單美顏效果

原创 增強現實版攻擊特效

遊戲主要邏輯: 1.坦克等3d模型隨屏幕一起移動,即放在父節點transform爲reset的條件下作爲camera的子節點。模型在相機前的位置通過調整其與它的父節點偏移。不然由於嵌套的多層父子關係帶着相對偏移導致運行時放置在相機結點下

原创 UGUI 學習筆記

1.Transform.sizeDelta The size of this RectTransform relative to the distances between the anchors. If the anchor

原创 Particle System調整

1.Shape 調整爲box,x,y,z分別爲0。 2.Velocity over lifetime,x,y,z對應於想要粒子朝向的方向。 3.Renderer下面的Render mode 設置爲Mesh,這樣可以調整gameobject

原创 貪喫蛇總結之二

關於用Playmaker做顯示分數的板子 1.對於二位數,個位,十位,百位。在一個狀態機裏依次對個位,十位,百位賦值,所以賦值用同樣的狀態實現,即賦值0,1,2,3,4,5,6,7,8,9十個值是固定的,可重複使用。 2.對於所得分數,算

原创 UGUI Make Use Of Grid Layout Group

1.Buttons Grid layout Group,Set group of Buttons vertical by one column, but The Size is hard to arrange.So 1>Create n

原创 Playmaker random Bug

1.Play random audio ,random event is often make mistake. 2.Play random audio will create a One shot audio in scene whic