跳到主要內容

發表文章

[Bug Solved] Unity Facebook SDK openssl not found

問題: 就算正確安裝並添加openssl環境變數,還是會顯示openssl not found 解決: 這是unity hub的bug,它會破壞windows的環境變數,因此unity找不到openssl。 方法一: 不要透過unity hub開啟專案,直接利用該版本unity開啟專案 方法二: 刪除環境變數 PATHTEXT (請備份該變數,不確定後遺症)

[Bug solved]unity getting list of installed android packages

解決: 網路上有幾種解決方式,大部分都是以重開或重新安裝,但這些都對我沒用。 我認為這是因為unity找不到設定路徑上之sdk所以重新尋找而卡住, 因此我的解法是: 先將路徑清空後關閉,重新開啟unity並重新設定路徑就解決了。 後續: 這是一個unity 2018的bug,就我所知無法一勞永逸 就算這次解決,下次再開起來是一樣

[unity]myEchosphere 我的生態球 DevLog Oct. Week 1

新增背包動畫、背包格數量增加 via GIPHY

[C# 筆記] Delegate委派 in unity

表示委派,它是參考到靜態方法或該類別的類別執行個體和執行個體方法 (Instance Method) 的資料結構。 -MSDN的定義 簡言之,就是將 方法 利用 變數 的形式去使用之,就像是function pointer,他可以幫你指向你需要的方法,使用上更加的彈性。 最簡單使用delegate有幾個步驟 : 宣告委派 方法 之型別(包含返回型態、參數) 建立一個委派類別實體 建立相同型別之方法(包含返回型態、參數) 將欲使用之 方法 存入 委派 實體 透過委派實體使用該方法 範例 1 : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 using UnityEngine ; public class Delegate : MonoBehaviour { delegate void delegatefunction ( int num, int num2); delegatefunction delegateFunction; // Start is called before the first frame update void Start () { delegateFunction = A dd ; if (delegateFunction != null ) { delegateFunction( 2 , 3 ); } } void A dd ( int num, int num2) { print(num+num2); } } 輸出 : 第6行: delegate void delegatefunction ( int num, int num2); 宣告委派的型別,delegate關鍵字+方法回傳型態  + 委派名稱 + (自訂參數),格式需與欲呼叫之方法相同...

[Unity] Unite Copenhagen Keynotes Quick Review

RT3D (Real-Time 3D) Performance (DOTS) C# Jobs System Burst Compiler ECS (Entity/Component/System) FPS Netcode Architecture on top of DOTS (2019.03) Client-side prediction Lack Compensation Interpolation New Animation Package Runtime IK No black box Unity Physics on character Controller  Unity physics Ray-casting on shooting Render pipeline based on DOTS component  Hot-patch in editor mode(Almost everything like Shader ,Physics ,Material ,etc.) No matter what's the device you use.  This give direct feedback Hide or delete elements that optimize the performance. Transport Package (Preview) Multi-play Dedicated Server Hosting Matchmaking (Beta) Next month Voice Communication Augmented Reality AR Foundation Unified workflow ARKit ARCore HoloLens 2 magic leap Create Robust AR apps Across AR devices XR Interaction Toolkit (Preview) in 2019.3 Interactivity without coding hand gesture ,etc. MARS (Environment) Unity ...

[Unity]Shader Graph

全像投影特效 顏色切換 特校應用於物件移動中,讓玩家知道之互動物件。 參考自 Brackeys

[Unity]Visual Effects

VFX